Trait FromRawStr

Source
pub trait FromRawStr: Sized {
    type Err;

    // Required method
    fn from_raw_str(s: &[u8]) -> Result<Self, Self::Err>;
}

Required Associated Types§

Required Methods§

Source

fn from_raw_str(s: &[u8]) -> Result<Self, Self::Err>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§