Skip to main content

TursoTryNewExt

Trait TursoTryNewExt 

Source
pub trait TursoTryNewExt<T>: Sized {
    // Required method
    fn try_new(value: T) -> Result<Self, AllocError>;
}

Required Methods§

Source

fn try_new(value: T) -> Result<Self, AllocError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T> TursoTryNewExt<T> for Box<T>