pub struct RecvRegistration(/* private fields */);Expand description
Names one receiver registration for RecvAdvertiser::unregister.
The registration belongs to the advertiser that issued it, and only that advertiser can end it. Dropping this value changes nothing: the receiver stays advertised, and alive, until the registration is removed or the advertiser is dropped.
Trait Implementations§
Source§impl Debug for RecvRegistration
impl Debug for RecvRegistration
impl Eq for RecvRegistration
Source§impl Hash for RecvRegistration
impl Hash for RecvRegistration
Source§impl PartialEq for RecvRegistration
impl PartialEq for RecvRegistration
impl StructuralPartialEq for RecvRegistration
Auto Trait Implementations§
impl Freeze for RecvRegistration
impl RefUnwindSafe for RecvRegistration
impl Send for RecvRegistration
impl Sync for RecvRegistration
impl Unpin for RecvRegistration
impl UnsafeUnpin for RecvRegistration
impl UnwindSafe for RecvRegistration
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