Struct jsonrpsee_server::StopHandle
source · pub struct StopHandle(/* private fields */);
Expand description
Represent a stop handle which is a wrapper over a multi-consumer receiver
and cloning StopHandle
will get a separate instance of the underlying receiver.
Implementations§
source§impl StopHandle
impl StopHandle
Trait Implementations§
source§impl Clone for StopHandle
impl Clone for StopHandle
source§fn clone(&self) -> StopHandle
fn clone(&self) -> StopHandle
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for StopHandle
impl !RefUnwindSafe for StopHandle
impl Send for StopHandle
impl Sync for StopHandle
impl Unpin for StopHandle
impl !UnwindSafe for StopHandle
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)