Struct edgedb_protocol::serialization::decode::DecodeTupleLike
source · [−]pub struct DecodeTupleLike<'t> { /* private fields */ }
Implementations
sourceimpl<'t> DecodeTupleLike<'t>
impl<'t> DecodeTupleLike<'t>
pub fn new_object(
buf: &'t [u8],
expected_count: usize
) -> Result<Self, DecodeError>
pub fn new_tuple(
buf: &'t [u8],
expected_count: usize
) -> Result<Self, DecodeError>
pub fn read(&mut self) -> Result<Option<&[u8]>, DecodeError>
pub fn skip_element(&mut self) -> Result<(), DecodeError>
Auto Trait Implementations
impl<'t> RefUnwindSafe for DecodeTupleLike<'t>
impl<'t> Send for DecodeTupleLike<'t>
impl<'t> Sync for DecodeTupleLike<'t>
impl<'t> Unpin for DecodeTupleLike<'t>
impl<'t> UnwindSafe for DecodeTupleLike<'t>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more