pub struct OriginalStreamReader<'a> { /* private fields */ }Implementations§
Source§impl<'a> OriginalStreamReader<'a>
impl<'a> OriginalStreamReader<'a>
pub fn new(data: &'a [u8]) -> Self
pub fn i32(&mut self) -> Result<i32>
pub fn i64(&mut self) -> Result<i64>
pub fn bool(&mut self) -> Result<bool>
pub fn skip(&mut self, n: usize) -> Result<()>
pub fn element(&mut self) -> Result<Vec<i32>>
pub fn skip_element(&mut self) -> Result<()>
pub fn skip_empty_proc(&mut self) -> Result<()>
pub fn tid(&mut self) -> Result<[u16; 7]>
pub fn take_raw(&mut self, n: usize) -> Result<&'a [u8]>
pub fn len_bytes(&mut self) -> Result<Vec<u8>>
pub fn remaining(&self) -> &'a [u8] ⓘ
pub fn string(&mut self) -> Result<String>
pub fn fixed_i32_list(&mut self) -> Result<Vec<i64>>
pub fn fixed_str_list(&mut self) -> Result<Vec<String>>
pub fn extend_i32_list(&mut self) -> Result<Vec<i64>>
pub fn fixed_items<T, F>(&mut self, read_one: F) -> Result<Vec<T>>
pub fn extend_items<T, F>(&mut self, read_one: F) -> Result<Vec<T>>
pub fn skip_fixed_items<F>(&mut self, skip_one: F) -> Result<()>
Auto Trait Implementations§
impl<'a> Freeze for OriginalStreamReader<'a>
impl<'a> RefUnwindSafe for OriginalStreamReader<'a>
impl<'a> Send for OriginalStreamReader<'a>
impl<'a> Sync for OriginalStreamReader<'a>
impl<'a> Unpin for OriginalStreamReader<'a>
impl<'a> UnsafeUnpin for OriginalStreamReader<'a>
impl<'a> UnwindSafe for OriginalStreamReader<'a>
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.