pub enum ExecuteErrorCode {
NotFound,
InvalidRequest,
InternalError,
Timeout,
ChannelDisconnected,
}Expand description
Error codes returned when executing a command fails.
Matches the TypeScript ExecuteCommandResponseErrorCode enum.
Variants§
Trait Implementations§
Source§impl Clone for ExecuteErrorCode
impl Clone for ExecuteErrorCode
Source§fn clone(&self) -> ExecuteErrorCode
fn clone(&self) -> ExecuteErrorCode
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 moreSource§impl Debug for ExecuteErrorCode
impl Debug for ExecuteErrorCode
Source§impl<'de> Deserialize<'de> for ExecuteErrorCode
impl<'de> Deserialize<'de> for ExecuteErrorCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExecuteErrorCode
impl PartialEq for ExecuteErrorCode
Source§fn eq(&self, other: &ExecuteErrorCode) -> bool
fn eq(&self, other: &ExecuteErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecuteErrorCode
impl Serialize for ExecuteErrorCode
impl Copy for ExecuteErrorCode
impl Eq for ExecuteErrorCode
impl StructuralPartialEq for ExecuteErrorCode
Auto Trait Implementations§
impl Freeze for ExecuteErrorCode
impl RefUnwindSafe for ExecuteErrorCode
impl Send for ExecuteErrorCode
impl Sync for ExecuteErrorCode
impl Unpin for ExecuteErrorCode
impl UnsafeUnpin for ExecuteErrorCode
impl UnwindSafe for ExecuteErrorCode
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