[][src]Struct libpebble::Handle

pub struct Handle(pub u32);

A Handle is used to represent a task's access to a kernel object. It is allocated by the kernel and is unique to the task to which it is issued - a kernel object can have handles in multiple tasks (and the numbers will not be shared between those tasks).

Trait Implementations

impl Debug for Handle[src]

impl Eq for Handle[src]

impl Ord for Handle[src]

impl PartialEq<Handle> for Handle[src]

impl PartialOrd<Handle> for Handle[src]

impl StructuralEq for Handle[src]

impl StructuralPartialEq for Handle[src]

impl TryFrom<usize> for Handle[src]

type Error = TryFromIntError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl Send for Handle

impl Sync for Handle

impl Unpin for Handle

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, 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.