Expand description
Helper type which reads remaining packet as is
Tuple Fields
0: &'a [u8]Trait Implementations
sourceimpl<const BOXED: bool> TlWrite for RawBytes<'_, BOXED>
impl<const BOXED: bool> TlWrite for RawBytes<'_, BOXED>
const TL_WRITE_BOXED: bool = BOXED
sourcefn max_size_hint(&self) -> usize
fn max_size_hint(&self) -> usize
Max required number of bytes
fn write_to<P>(&self, packet: &mut P) where
P: TlPacket,
impl<'a, const BOXED: bool> Copy for RawBytes<'a, BOXED>
impl<'a, const BOXED: bool> Eq for RawBytes<'a, BOXED>
impl<'a, const BOXED: bool> StructuralEq for RawBytes<'a, BOXED>
impl<'a, const BOXED: bool> StructuralPartialEq for RawBytes<'a, BOXED>
Auto Trait Implementations
impl<'a, const BOXED: bool> RefUnwindSafe for RawBytes<'a, BOXED>
impl<'a, const BOXED: bool> Send for RawBytes<'a, BOXED>
impl<'a, const BOXED: bool> Sync for RawBytes<'a, BOXED>
impl<'a, const BOXED: bool> Unpin for RawBytes<'a, BOXED>
impl<'a, const BOXED: bool> UnwindSafe for RawBytes<'a, BOXED>
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