pub trait SequentialDecoderFactory {
type Decoder<'a>: Decode + 'a
where Self: 'a;
// Required method
fn new_decoder(&self) -> Result<Self::Decoder<'_>>;
}Expand description
A trait providing decoders on the whole graph.
Required Associated Types§
Required Methods§
Sourcefn new_decoder(&self) -> Result<Self::Decoder<'_>>
fn new_decoder(&self) -> Result<Self::Decoder<'_>>
Creates a new reader starting at the given node.
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.