trait UuidDeserialize {
// Required methods
fn from_str(formatted: &str) -> Result<Self, Error>
where Self: Sized;
fn from_slice(bytes: &[u8]) -> Result<Self, Error>
where Self: Sized;
fn from_bytes(bytes: Bytes) -> Result<Self, Error>
where Self: Sized;
}Required Methods§
fn from_str(formatted: &str) -> Result<Self, Error>where
Self: Sized,
fn from_slice(bytes: &[u8]) -> Result<Self, Error>where
Self: Sized,
fn from_bytes(bytes: Bytes) -> Result<Self, Error>where
Self: Sized,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".