pub struct PacketBundleLazy<'a> { /* private fields */ }Implementations§
Source§impl<'a> PacketBundleLazy<'a>
impl<'a> PacketBundleLazy<'a>
pub fn channel_id(&self) -> DecodeResult<u32>
pub fn length(&self) -> DecodeResult<u16>
Trait Implementations§
Source§impl<'a> Clone for PacketBundleLazy<'a>
impl<'a> Clone for PacketBundleLazy<'a>
Source§impl<'a> Debug for PacketBundleLazy<'a>
impl<'a> Debug for PacketBundleLazy<'a>
Source§impl<'a> Decode<'a> for PacketBundleLazy<'a>
impl<'a> Decode<'a> for PacketBundleLazy<'a>
fn decode(cursor: &DecodeCursor<'a>) -> DecodeResult<Self>
Source§impl<'a> Encode for PacketBundleLazy<'a>
impl<'a> Encode for PacketBundleLazy<'a>
fn scratch_len(&self) -> usize
fn encode(&self, cursor: &mut EncodeCursor<'_>)
Source§impl<'a> Lazy<'a> for PacketBundleLazy<'a>
impl<'a> Lazy<'a> for PacketBundleLazy<'a>
type Owned = PacketBundle
Source§impl<'a> PartialEq for PacketBundleLazy<'a>
impl<'a> PartialEq for PacketBundleLazy<'a>
Source§impl<'a> TryFrom<PacketBundleLazy<'a>> for PacketBundle
impl<'a> TryFrom<PacketBundleLazy<'a>> for PacketBundle
Source§type Error = DecodeError
type Error = DecodeError
The type returned in the event of a conversion error.
impl<'a> Compatible<PacketBundle> for PacketBundleLazy<'a>
impl<'a> Compatible<PacketBundleLazy<'a>> for PacketBundle
impl<'a> Compatible<PacketBundleLazy<'a>> for PacketBundleLazy<'a>
impl<'a> Copy for PacketBundleLazy<'a>
Auto Trait Implementations§
impl<'a> Freeze for PacketBundleLazy<'a>
impl<'a> RefUnwindSafe for PacketBundleLazy<'a>
impl<'a> Send for PacketBundleLazy<'a>
impl<'a> Sync for PacketBundleLazy<'a>
impl<'a> Unpin for PacketBundleLazy<'a>
impl<'a> UnwindSafe for PacketBundleLazy<'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