IntoDestination

Trait IntoDestination 

Source
pub trait IntoDestination {
    type Output;
    type Destination: Destination<Output = Self::Output>;

    // Required method
    fn into_destination(
        self,
        src_len: usize,
        bound: fn(usize) -> usize,
    ) -> Self::Destination;
}

Required Associated Types§

Required Methods§

Source

fn into_destination( self, src_len: usize, bound: fn(usize) -> usize, ) -> Self::Destination

Implementations on Foreign Types§

Source§

impl IntoDestination for ()

Source§

type Output = Vec<u8>

Source§

type Destination = Vec<u8>

Source§

fn into_destination( self, src_len: usize, bound: fn(usize) -> usize, ) -> Self::Destination

Implementors§