[][src]Struct r::stable_rc::StableArc

pub struct StableArc<T: ?Sized> { /* fields omitted */ }

Implementations

impl<T> StableArc<T>[src]

pub fn new(value: T) -> Self[src]

pub fn new_configure(value: T, interval: usize, limit: usize) -> Self[src]

pub fn try_unwrap(this: StableArc<T>) -> Result<T, StableArc<T>>[src]

Trait Implementations

impl<T: ?Sized> Clone for StableArc<T>[src]

impl<T: Debug + ?Sized> Debug for StableArc<T>[src]

impl<T: ?Sized> Deref for StableArc<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: ?Sized> Drop for StableArc<T>[src]

impl<T: ?Sized + Sync + Send> Send for StableArc<T>[src]

impl<T: ?Sized + Sync + Send> Sync for StableArc<T>[src]

Auto Trait Implementations

impl<T: ?Sized> RefUnwindSafe for StableArc<T> where
    T: RefUnwindSafe

impl<T: ?Sized> Unpin for StableArc<T> where
    T: Unpin

impl<T: ?Sized> UnwindSafe for StableArc<T> where
    T: RefUnwindSafe + 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.