Trait cassandra_protocol::frame::traits::FromCursor
source · [−]pub trait FromCursor {
fn from_cursor(cursor: &mut Cursor<&[u8]>, version: Version) -> 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.