[][src]Trait neli::NlBuf

pub trait NlBuf<'a>: Sized {
    fn deserialize_buf<T>(
        m: &mut StreamReadBuffer<T>,
        b: &'a mut [u8]
    ) -> Result<Self, DeError>
    where
        T: AsRef<[u8]>
; }

Deserialize trait that allows a buffer to be passed in so that references with appropriate lifetimes can be returned

Required methods

fn deserialize_buf<T>(
    m: &mut StreamReadBuffer<T>,
    b: &'a mut [u8]
) -> Result<Self, DeError> where
    T: AsRef<[u8]>, 

Deserialization method

Loading content...

Implementations on Foreign Types

impl<'a> NlBuf<'a> for &'a [u8][src]

impl<'a> NlBuf<'a> for &'a str[src]

Loading content...

Implementors

Loading content...