pub enum BlockingScope {
NotBlocking,
BlocksAction,
BlocksContinuation,
Custom(&'static str),
}Expand description
What a hook can block when a handler returns a blocking result.
Variants§
NotBlocking
The event is not blocking.
BlocksAction
The hook can block the action that has not yet run.
BlocksContinuation
The hook can block continuation after an action or turn.
Custom(&'static str)
Harness-specific blocking semantics documented by the adapter.
Trait Implementations§
Source§impl Clone for BlockingScope
impl Clone for BlockingScope
Source§fn clone(&self) -> BlockingScope
fn clone(&self) -> BlockingScope
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 BlockingScope
Source§impl Debug for BlockingScope
impl Debug for BlockingScope
Source§impl Deserialize<'static> for BlockingScope
impl Deserialize<'static> for BlockingScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for BlockingScope
Source§impl PartialEq for BlockingScope
impl PartialEq for BlockingScope
Source§impl Serialize for BlockingScope
impl Serialize for BlockingScope
impl StructuralPartialEq for BlockingScope
Auto Trait Implementations§
impl Freeze for BlockingScope
impl RefUnwindSafe for BlockingScope
impl Send for BlockingScope
impl Sync for BlockingScope
impl Unpin for BlockingScope
impl UnsafeUnpin for BlockingScope
impl UnwindSafe for BlockingScope
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