Trait ItemWrapper

Source
pub trait ItemWrapper<I, R> {
    type Output;

    // Required methods
    fn wrap_none(input: I) -> Self::Output;
    fn wrap_fixed(input: I, length: usize) -> Self::Output;
    fn wrap_stream(input: I) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn wrap_none(input: I) -> Self::Output

Source

fn wrap_fixed(input: I, length: usize) -> Self::Output

Source

fn wrap_stream(input: I) -> Self::Output

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§