pub struct PickleIterator<'a> { /* private fields */ }Expand description
An iterator over a Pickle binary buffer.
Reads values sequentially from the encoded pickle payload.
Implementations§
Source§impl<'a> PickleIterator<'a>
impl<'a> PickleIterator<'a>
pub fn read_bool(&mut self) -> bool
pub fn read_i32(&mut self) -> i32
pub fn read_u32(&mut self) -> u32
pub fn read_i64(&mut self) -> i64
pub fn read_u64(&mut self) -> u64
pub fn read_float(&mut self) -> f32
pub fn read_double(&mut self) -> f64
pub fn read_bytes(&mut self, length: usize) -> Vec<u8> ⓘ
pub fn read_string(&mut self) -> String
Auto Trait Implementations§
impl<'a> Freeze for PickleIterator<'a>
impl<'a> RefUnwindSafe for PickleIterator<'a>
impl<'a> Send for PickleIterator<'a>
impl<'a> Sync for PickleIterator<'a>
impl<'a> Unpin for PickleIterator<'a>
impl<'a> UnsafeUnpin for PickleIterator<'a>
impl<'a> UnwindSafe for PickleIterator<'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