pub struct MonitorRef(/* private fields */);Expand description
Identifies a monitor set up with monitor; echoed
back in the resulting Received::Down so a watcher
can tell its monitors apart.
Implementations§
Trait Implementations§
Source§impl Clone for MonitorRef
impl Clone for MonitorRef
Source§fn clone(&self) -> MonitorRef
fn clone(&self) -> MonitorRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MonitorRef
Source§impl Debug for MonitorRef
impl Debug for MonitorRef
impl Eq for MonitorRef
Source§impl Hash for MonitorRef
impl Hash for MonitorRef
Source§impl PartialEq for MonitorRef
impl PartialEq for MonitorRef
Source§fn eq(&self, other: &MonitorRef) -> bool
fn eq(&self, other: &MonitorRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MonitorRef
Auto Trait Implementations§
impl Freeze for MonitorRef
impl RefUnwindSafe for MonitorRef
impl Send for MonitorRef
impl Sync for MonitorRef
impl Unpin for MonitorRef
impl UnsafeUnpin for MonitorRef
impl UnwindSafe for MonitorRef
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