[][src]Struct kernel::callback::CallbackId

pub struct CallbackId {
    pub driver_num: usize,
    pub subscribe_num: usize,
}

Type to uniquely identify a callback subscription across all drivers.

This contains the driver number and the subscribe number within the driver.

Fields

driver_num: usizesubscribe_num: usize

Trait Implementations

impl Debug for CallbackId[src]

impl PartialEq<CallbackId> for CallbackId[src]

impl Copy for CallbackId[src]

impl Clone for CallbackId[src]

Auto Trait Implementations

impl Unpin for CallbackId

impl Send for CallbackId

impl Sync for CallbackId

Blanket Implementations

impl<T> From<T> for T[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> Into<U> for T where
    U: From<T>, 
[src]

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]