Trait bincode::config::internal::InternalOptions

source ·
pub trait InternalOptions {
    type Limit: SizeLimit + 'static;
    type Endian: BincodeByteOrder + 'static;
    type IntEncoding: IntEncoding + 'static;
    type Trailing: TrailingBytes + 'static;

    // Required method
    fn limit(&mut self) -> &mut Self::Limit;
}

Required Associated Types§

Required Methods§

source

fn limit(&mut self) -> &mut Self::Limit

Implementations on Foreign Types§

source§

impl<'a, O: InternalOptions> InternalOptions for &'a mut O

Implementors§