[][src]Struct locklessness::handle::IdHandle

pub struct IdHandle<H: Handle, IdType> where
    H::HandleInner: HandleInner<IdType>, 
{ /* fields omitted */ }

Implementations

impl<H: Handle, IdType> IdHandle<H, IdType> where
    H::HandleInner: HandleInner<IdType>, 
[src]

pub fn try_clone(&self) -> Option<Self>[src]

pub fn new(handle: &H) -> Self[src]

pub fn try_new(handle: &H) -> Option<Self>[src]

pub fn id(&self) -> &IdType[src]

pub fn with<R, F: FnOnce(&H::HandleInner) -> R>(&self, f: F) -> R[src]

pub fn with_mut<R, F: FnOnce(&H::HandleInner, &mut IdType) -> R>(
    &mut self,
    f: F
) -> R
[src]

Trait Implementations

impl<H: Handle, IdType> Clone for IdHandle<H, IdType> where
    H::HandleInner: HandleInner<IdType>, 
[src]

impl<H: Debug + Handle, IdType: Debug> Debug for IdHandle<H, IdType> where
    H::HandleInner: HandleInner<IdType>, 
[src]

impl<H: Handle, IdType> Drop for IdHandle<H, IdType> where
    H::HandleInner: HandleInner<IdType>, 
[src]

Auto Trait Implementations

impl<H, IdType> RefUnwindSafe for IdHandle<H, IdType> where
    H: RefUnwindSafe,
    IdType: RefUnwindSafe

impl<H, IdType> Send for IdHandle<H, IdType> where
    H: Send,
    IdType: Send

impl<H, IdType> Sync for IdHandle<H, IdType> where
    H: Sync,
    IdType: Sync

impl<H, IdType> Unpin for IdHandle<H, IdType> where
    H: Unpin,
    IdType: Unpin

impl<H, IdType> UnwindSafe for IdHandle<H, IdType> where
    H: UnwindSafe,
    IdType: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.