pub struct OwnedInput { /* private fields */ }Implementations§
Source§impl OwnedInput
impl OwnedInput
pub fn new(data: Vec<u8>) -> OwnedInput
Trait Implementations§
Source§impl BinaryInput for OwnedInput
impl BinaryInput for OwnedInput
fn read_u8(&mut self) -> Result<u8, Error>
fn read_bytes(&mut self, count: usize) -> Result<&[u8], Error>
fn skip(&mut self, count: usize) -> Result<(), Error>
fn read_i8(&mut self) -> Result<i8, Error>
fn read_u16(&mut self) -> Result<u16, Error>
fn read_i16(&mut self) -> Result<i16, Error>
fn read_u32(&mut self) -> Result<u32, Error>
fn read_i32(&mut self) -> Result<i32, Error>
fn read_u64(&mut self) -> Result<u64, Error>
fn read_i64(&mut self) -> Result<i64, Error>
fn read_u128(&mut self) -> Result<u128, Error>
fn read_i128(&mut self) -> Result<i128, Error>
fn read_f32(&mut self) -> Result<f32, Error>
fn read_f64(&mut self) -> Result<f64, Error>
fn read_var_u32(&mut self) -> Result<u32, Error>
fn read_var_i32(&mut self) -> Result<i32, Error>
fn read_compressed(&mut self) -> Result<Vec<u8>, Error>
Auto Trait Implementations§
impl Freeze for OwnedInput
impl RefUnwindSafe for OwnedInput
impl Send for OwnedInput
impl Sync for OwnedInput
impl Unpin for OwnedInput
impl UnsafeUnpin for OwnedInput
impl UnwindSafe for OwnedInput
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