[][src]Trait fallible_collections::boxed::FallibleBox

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

trait to implement Fallible Box

Required methods

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

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

Loading content...

Implementations on Foreign Types

impl<T> FallibleBox<T> for Box<T>[src]

Loading content...

Implementors

Loading content...