Struct hid_io_core::api::Endpoint [−][src]
Information about a connected node
Fields
uid: u64
Implementations
impl Endpoint
[src]
pub fn new(type_: NodeType, uid: u64) -> Endpoint
[src]
pub fn set_daemonnode_params(&mut self)
[src]
pub fn set_evdev_params(&mut self, info: EvdevInfo)
[src]
pub fn set_hidio_params(&mut self, name: String, serial: String)
[src]
pub fn set_hidapi_params(&mut self, info: HidApiInfo)
[src]
pub fn set_uhid_params(&mut self, info: UhidInfo)
[src]
pub fn set_hidapi_path(&mut self, path: String)
[src]
pub fn type_(&mut self) -> NodeType
[src]
pub fn name(&mut self) -> String
[src]
pub fn key(&mut self) -> String
[src]
Used to generate a unique key that will point to this device Empty fields are still used (in the case of bluetooth and the interface field on Windows sometimes) Does not include path, as the path may not uniquely identify device port or device Does not include release number as this may be incrementing
pub fn serial(&mut self) -> String
[src]
pub fn uid(&mut self) -> u64
[src]
pub fn created(&mut self) -> Instant
[src]
pub fn path(&mut self) -> String
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,