[−][src]Struct sharded_slab::Guard
A guard that allows access to an object in a slab.
While the guard exists, it indicates to the slab that the item the guard references is currently being accessed. If the item is removed from the slab while a guard exists, the removal will be deferred until all guards are dropped.
Methods
impl<'a, T, C: Config> Guard<'a, T, C>
[src]
Trait Implementations
impl<'a, T, C: Config> Drop for Guard<'a, T, C>
[src]
impl<'a, T, C> PartialEq<T> for Guard<'a, T, C> where
T: PartialEq<T>,
C: Config,
[src]
T: PartialEq<T>,
C: Config,
impl<'a, T, C> Debug for Guard<'a, T, C> where
T: Debug,
C: Config,
[src]
T: Debug,
C: Config,
impl<'a, T, C: Config> Deref for Guard<'a, T, C>
[src]
Auto Trait Implementations
impl<'a, T, C = DefaultConfig> !Send for Guard<'a, T, C>
impl<'a, T, C = DefaultConfig> !Sync for Guard<'a, T, C>
impl<'a, T, C> Unpin for Guard<'a, T, C>
impl<'a, T, C = DefaultConfig> !UnwindSafe for Guard<'a, T, C>
impl<'a, T, C = DefaultConfig> !RefUnwindSafe for Guard<'a, T, C>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,