Struct async_byteorder::DecodeI32LE
[−]
[src]
pub struct DecodeI32LE<R>(_);
Decode a i32 in little-endian byte order.
Trait Implementations
impl<R: AsyncRead> AsyncDecode<R> for DecodeLE<R>[src]
type Item = i32
The type of the value to decode.
type Error = Never
An error indicating how decoding can fail.
fn poll_decode(
self,
cx: &mut Context,
reader: &mut R
) -> PollDec<Self::Item, Self, Self::Error>[src]
self,
cx: &mut Context,
reader: &mut R
) -> PollDec<Self::Item, Self, Self::Error>
Call reader.poll_read exactly once, propgating any Err and Pending, and return how many bytes have been read, as well as the decoded value, once decoding is done. Read more
Auto Trait Implementations
impl<R> Send for DecodeI32LE<R> where
R: Send,
R: Send,
impl<R> Sync for DecodeI32LE<R> where
R: Sync,
R: Sync,