Struct overclock::core::NullHandle
source · [−]pub struct NullHandle { /* private fields */ }
Expand description
Null handle, note: invoking abort will abort the manually defined abortable future/streams in the actor’s run lifecycle (if any)
Implementations
sourceimpl NullHandle
impl NullHandle
sourcepub fn new(scope_id: ScopeId, abort_handle: AbortHandle) -> Self
pub fn new(scope_id: ScopeId, abort_handle: AbortHandle) -> Self
Create new null handle
Trait Implementations
sourceimpl Clone for NullHandle
impl Clone for NullHandle
sourcefn clone(&self) -> NullHandle
fn clone(&self) -> NullHandle
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 more
sourceimpl Shutdown for NullHandle
impl Shutdown for NullHandle
Auto Trait Implementations
impl !RefUnwindSafe for NullHandle
impl Send for NullHandle
impl Sync for NullHandle
impl Unpin for NullHandle
impl !UnwindSafe for NullHandle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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