pub trait TryFromIteratorwhere
Self: Sized,{
// Required method
fn try_from_iter<T>(iter: T) -> Result<Self, DecoderError>
where T: IntoIterator<Item = u8>;
}
Expand description
Traits for elements that can be build from a byte iterator
Required Methods§
Sourcefn try_from_iter<T>(iter: T) -> Result<Self, DecoderError>where
T: IntoIterator<Item = u8>,
fn try_from_iter<T>(iter: T) -> Result<Self, DecoderError>where
T: IntoIterator<Item = u8>,
Tries to build Self
from the given byte iterator
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.