pub struct LittleEndianDecoder<E> { /* private fields */ }Implementations§
Source§impl<E> LittleEndianDecoder<E>
impl<E> LittleEndianDecoder<E>
Trait Implementations§
Source§impl<E: Debug> Debug for LittleEndianDecoder<E>
impl<E: Debug> Debug for LittleEndianDecoder<E>
Source§impl<'de, E: Error> Decoder<'de> for LittleEndianDecoder<E>
impl<'de, E: Error> Decoder<'de> for LittleEndianDecoder<E>
type Buf = Bytes
type Error = E
Source§fn decode_sized<V: Visitor<'de>>(
&mut self,
size: usize,
visitor: V,
) -> Result<V::Value, Self::Error>where
Self: Sized,
fn decode_sized<V: Visitor<'de>>(
&mut self,
size: usize,
visitor: V,
) -> Result<V::Value, Self::Error>where
Self: Sized,
take specified number of bytes, and decode it with the specified visitor
Source§fn decode_bool(&mut self) -> bool
fn decode_bool(&mut self) -> bool
get bool unchecked
Source§fn decode_i16(&mut self) -> i16
fn decode_i16(&mut self) -> i16
get i16 unchecked
Source§fn decode_u16(&mut self) -> u16
fn decode_u16(&mut self) -> u16
get u16 unchecked
Source§fn decode_i32(&mut self) -> i32
fn decode_i32(&mut self) -> i32
get i32 unchecked
Source§fn decode_u32(&mut self) -> u32
fn decode_u32(&mut self) -> u32
get u32 unchecked
Source§fn decode_i64(&mut self) -> i64
fn decode_i64(&mut self) -> i64
get i64 unchecked
Source§fn decode_u64(&mut self) -> u64
fn decode_u64(&mut self) -> u64
get u64 unchecked
Source§fn decode_f32(&mut self) -> f32
fn decode_f32(&mut self) -> f32
get f32 unchecked
Source§fn decode_f64(&mut self) -> f64
fn decode_f64(&mut self) -> f64
get f64 unchecked
Source§fn decode_i128(&mut self) -> i128
fn decode_i128(&mut self) -> i128
get i128 unchecked
Source§fn decode_u128(&mut self) -> u128
fn decode_u128(&mut self) -> u128
get u128 unchecked
fn remaining(&mut self) -> usize
fn has_remaining(&mut self) -> bool
Auto Trait Implementations§
impl<E> !Freeze for LittleEndianDecoder<E>
impl<E> RefUnwindSafe for LittleEndianDecoder<E>where
E: RefUnwindSafe,
impl<E> Send for LittleEndianDecoder<E>where
E: Send,
impl<E> Sync for LittleEndianDecoder<E>where
E: Sync,
impl<E> Unpin for LittleEndianDecoder<E>where
E: Unpin,
impl<E> UnwindSafe for LittleEndianDecoder<E>where
E: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more