Struct nakamoto_net::event::Subscriber
source · pub struct Subscriber<T> { /* private fields */ }
Expand description
Subscribes to events.
Implementations
Trait Implementations
sourceimpl<T: Clone> Clone for Subscriber<T>
impl<T: Clone> Clone for Subscriber<T>
sourcefn clone(&self) -> Subscriber<T>
fn clone(&self) -> Subscriber<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 Subscriber<T>
impl<T> Send for Subscriber<T>where
T: Send,
impl<T> Sync for Subscriber<T>where
T: Send,
impl<T> Unpin for Subscriber<T>
impl<T> UnwindSafe for Subscriber<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