pub struct CompactCallbackDecoder { /* private fields */ }Expand description
Decoder for compact callback payload strings.
Implementations§
Source§impl CompactCallbackDecoder
impl CompactCallbackDecoder
pub fn new(data: &str) -> Result<Self>
pub fn expect_tag(&mut self, expected: &str) -> Result<&mut Self>
pub fn next_string(&mut self, field: &str) -> Result<String>
pub fn next_parse<T>(&mut self, field: &str) -> Result<T>
pub fn remaining(&self) -> usize
pub fn finish(self) -> Result<()>
Trait Implementations§
Source§impl Clone for CompactCallbackDecoder
impl Clone for CompactCallbackDecoder
Source§fn clone(&self) -> CompactCallbackDecoder
fn clone(&self) -> CompactCallbackDecoder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CompactCallbackDecoder
impl RefUnwindSafe for CompactCallbackDecoder
impl Send for CompactCallbackDecoder
impl Sync for CompactCallbackDecoder
impl Unpin for CompactCallbackDecoder
impl UnsafeUnpin for CompactCallbackDecoder
impl UnwindSafe for CompactCallbackDecoder
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