Enum xio_common::SenderRegistration
source · pub enum SenderRegistration<T: Clone> {
AttachSender {
uuid: Uuid,
sender: Sender<T>,
},
DetachSender {
uuid: Uuid,
},
}
Variants
Trait Implementations
sourceimpl<T: Clone + Clone> Clone for SenderRegistration<T>
impl<T: Clone + Clone> Clone for SenderRegistration<T>
sourcefn clone(&self) -> SenderRegistration<T>
fn clone(&self) -> SenderRegistration<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl<T> RefUnwindSafe for SenderRegistration<T>
impl<T> Send for SenderRegistration<T>where
T: Send,
impl<T> Sync for SenderRegistration<T>where
T: Send,
impl<T> Unpin for SenderRegistration<T>
impl<T> UnwindSafe for SenderRegistration<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more