pub trait FromCursor {
    fn from_cursor(cursor: &mut Cursor<&[u8]>) -> Result<Self>
    where
        Self: Sized
; }
Expand description

FromCursor should be used to get parsed structure from an io:Cursor which bound to an array of bytes.

Required Methods

It should return an implementor from an io::Cursor over an array of bytes.

Implementors