[−][src]Struct pbtools::Decoder
Fields
pos: usizeencoded: Vec<u8>Implementations
impl Decoder[src]
pub fn available(&self) -> bool[src]
pub fn read_tag(&mut self) -> (u32, u32)[src]
pub fn read_varint(&mut self) -> u64[src]
pub fn read_length_delimited(&mut self) -> u64[src]
pub fn read_string(&mut self, _wire_type: u32) -> String[src]
pub fn read_int32(&mut self, _wire_type: u32) -> i32[src]
pub fn seek(&mut self, offset: u32)[src]
pub fn skip_field(&mut self, wire_type: u32)[src]
Auto Trait Implementations
impl RefUnwindSafe for Decoder
impl Send for Decoder
impl Sync for Decoder
impl Unpin for Decoder
impl UnwindSafe for Decoder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,