pub struct ReceiverRegistration<T: PacketReceiver> { /* private fields */ }
Expand description
A registration of a PacketReceiver
.
When dropped, it will automatically deregister the PacketReceiver
.
Implementations§
Source§impl<T> ReceiverRegistration<T>where
T: PacketReceiver,
impl<T> ReceiverRegistration<T>where
T: PacketReceiver,
Trait Implementations§
Source§impl<T: Debug + PacketReceiver> Debug for ReceiverRegistration<T>
impl<T: Debug + PacketReceiver> Debug for ReceiverRegistration<T>
Source§impl<T: PacketReceiver> Deref for ReceiverRegistration<T>
impl<T: PacketReceiver> Deref for ReceiverRegistration<T>
Source§impl<T> Drop for ReceiverRegistration<T>where
T: PacketReceiver,
impl<T> Drop for ReceiverRegistration<T>where
T: PacketReceiver,
Auto Trait Implementations§
impl<T> Freeze for ReceiverRegistration<T>
impl<T> !RefUnwindSafe for ReceiverRegistration<T>
impl<T> Send for ReceiverRegistration<T>
impl<T> Sync for ReceiverRegistration<T>
impl<T> Unpin for ReceiverRegistration<T>
impl<T> !UnwindSafe for ReceiverRegistration<T>
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