Struct fuchsia_async::ReceiverRegistration
source · 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