pub trait FromBase32: Sized {
type Err;
// Required method
fn from_base32(b32: &[u5]) -> Result<Self, Self::Err>;
}
Expand description
Parse/convert base32 slice to Self
. It is the reciprocal of
ToBase32
.
Required Associated Types§
Required Methods§
Sourcefn from_base32(b32: &[u5]) -> Result<Self, Self::Err>
fn from_base32(b32: &[u5]) -> Result<Self, Self::Err>
Convert a base32 slice to Self
.
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.