[][src]Trait fallible_collections::rc::FallibleRc

pub trait FallibleRc<T> {
    pub fn try_new(t: T) -> Result<Self, TryReserveError>
    where
        Self: Sized
; }

trait to implement Fallible Rc

Required methods

pub fn try_new(t: T) -> Result<Self, TryReserveError> where
    Self: Sized
[src]

try creating a new Rc, returning a Result<Box, TryReserveError> if allocation failed

Loading content...

Implementations on Foreign Types

impl<T> FallibleRc<T> for Rc<T>[src]

Loading content...

Implementors

Loading content...