Trait rs9p::serialize::Encodable[][src]

pub trait Encodable {
    fn encode<W: WriteBytesExt>(&self, w: &mut W) -> Result<usize>;
}

Trait representing a type which can be serialized into binary

Required methods

fn encode<W: WriteBytesExt>(&self, w: &mut W) -> Result<usize>[src]

Encode self to w and returns the number of bytes encoded

Loading content...

Implementations on Foreign Types

impl Encodable for u8[src]

impl Encodable for u16[src]

impl Encodable for u32[src]

impl Encodable for u64[src]

impl Encodable for String[src]

impl<T: Encodable> Encodable for Vec<T>[src]

Loading content...

Implementors

impl Encodable for Data[src]

impl Encodable for DirEntry[src]

impl Encodable for DirEntryData[src]

impl Encodable for Flock[src]

impl Encodable for Getlock[src]

impl Encodable for Msg[src]

impl Encodable for Qid[src]

impl Encodable for SetAttr[src]

impl Encodable for Stat[src]

impl Encodable for Statfs[src]

impl Encodable for Time[src]

Loading content...