pub enum LiveCommandRejectionPublicErrorClass {
InvalidParams,
InternalError,
}Expand description
Typed public error class for live command rejections. RPC surfaces may only
project their JSON-RPC error code from a generated
LiveCommandRejectionResolved effect.
Variants§
Trait Implementations§
Source§impl Clone for LiveCommandRejectionPublicErrorClass
impl Clone for LiveCommandRejectionPublicErrorClass
Source§fn clone(&self) -> LiveCommandRejectionPublicErrorClass
fn clone(&self) -> LiveCommandRejectionPublicErrorClass
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 LiveCommandRejectionPublicErrorClass
Source§impl Default for LiveCommandRejectionPublicErrorClass
impl Default for LiveCommandRejectionPublicErrorClass
Source§fn default() -> LiveCommandRejectionPublicErrorClass
fn default() -> LiveCommandRejectionPublicErrorClass
Returns the “default value” for a type. Read more
impl Eq for LiveCommandRejectionPublicErrorClass
Source§impl Ord for LiveCommandRejectionPublicErrorClass
impl Ord for LiveCommandRejectionPublicErrorClass
Source§fn cmp(&self, other: &LiveCommandRejectionPublicErrorClass) -> Ordering
fn cmp(&self, other: &LiveCommandRejectionPublicErrorClass) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for LiveCommandRejectionPublicErrorClass
impl PartialOrd for LiveCommandRejectionPublicErrorClass
impl StructuralPartialEq for LiveCommandRejectionPublicErrorClass
Auto Trait Implementations§
impl Freeze for LiveCommandRejectionPublicErrorClass
impl RefUnwindSafe for LiveCommandRejectionPublicErrorClass
impl Send for LiveCommandRejectionPublicErrorClass
impl Sync for LiveCommandRejectionPublicErrorClass
impl Unpin for LiveCommandRejectionPublicErrorClass
impl UnsafeUnpin for LiveCommandRejectionPublicErrorClass
impl UnwindSafe for LiveCommandRejectionPublicErrorClass
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
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.