pub enum DispatchRefusal {
Misrouted,
AuthorityMissing,
StopRequested,
BarrierActive,
Superseded,
AlreadySettled,
}Expand description
Why a dispatch was refused before any effect was attempted.
Variants§
Misrouted
The intent’s kind and recipient disagree.
AuthorityMissing
No authority digest was committed for this dispatch.
StopRequested
A stop covers this target, so no new effect may start.
BarrierActive
The graph is deliberately held.
Superseded
The intent belongs to a superseded state visit.
AlreadySettled
This exact attempt already settled.
Trait Implementations§
Source§impl Clone for DispatchRefusal
impl Clone for DispatchRefusal
Source§fn clone(&self) -> DispatchRefusal
fn clone(&self) -> DispatchRefusal
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 DispatchRefusal
Source§impl Debug for DispatchRefusal
impl Debug for DispatchRefusal
Source§impl<'de> Deserialize<'de> for DispatchRefusal
impl<'de> Deserialize<'de> for DispatchRefusal
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DispatchRefusal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DispatchRefusal, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DispatchRefusal
Source§impl PartialEq for DispatchRefusal
impl PartialEq for DispatchRefusal
Source§impl Serialize for DispatchRefusal
impl Serialize for DispatchRefusal
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DispatchRefusal
Auto Trait Implementations§
impl Forget for DispatchRefusal
impl Freeze for DispatchRefusal
impl Move for DispatchRefusal
impl RefUnwindSafe for DispatchRefusal
impl Send for DispatchRefusal
impl Sync for DispatchRefusal
impl Unpin for DispatchRefusal
impl UnsafeUnpin for DispatchRefusal
impl UnwindSafe for DispatchRefusal
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.