Struct naia_socket_shared::PacketReader
source · [−]pub struct PacketReader<'s> { /* private fields */ }Expand description
Contains an underlying byte payload, and provides a Cursor into that payload
Implementations
sourceimpl<'s> PacketReader<'s>
impl<'s> PacketReader<'s>
Auto Trait Implementations
impl<'s> RefUnwindSafe for PacketReader<'s>
impl<'s> Send for PacketReader<'s>
impl<'s> Sync for PacketReader<'s>
impl<'s> Unpin for PacketReader<'s>
impl<'s> UnwindSafe for PacketReader<'s>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more