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