Struct hid_io_core::api::Endpoint[][src]

pub struct Endpoint {
    pub uid: u64,
    // some fields omitted
}

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

impl Clone for Endpoint[src]

impl Debug for Endpoint[src]

impl Display for Endpoint[src]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]