[][src]Trait craftio_rs::CraftSyncReader

pub trait CraftSyncReader {
    pub fn read_raw_packet<'a, P>(&'a mut self) -> ReadResult<P>
    where
        P: RawPacket<'a>
;
pub fn read_raw_untyped_packet(&mut self) -> ReadResult<(Id, &[u8])>; pub fn read_packet<'a, P>(
        &'a mut self
    ) -> ReadResult<<P as RawPacket<'a>>::Packet>
    where
        P: RawPacket<'a>
, { ... } }

Required methods

pub fn read_raw_packet<'a, P>(&'a mut self) -> ReadResult<P> where
    P: RawPacket<'a>, 
[src]

pub fn read_raw_untyped_packet(&mut self) -> ReadResult<(Id, &[u8])>[src]

Loading content...

Provided methods

pub fn read_packet<'a, P>(
    &'a mut self
) -> ReadResult<<P as RawPacket<'a>>::Packet> where
    P: RawPacket<'a>, 
[src]

Loading content...

Implementors

impl<R> CraftSyncReader for CraftReader<R> where
    R: Read
[src]

impl<R, W> CraftSyncReader for CraftConnection<R, W> where
    CraftReader<R>: CraftSyncReader,
    CraftWriter<W>: CraftSyncWriter
[src]

Loading content...