pub enum NexaraError {
ToolNotFound,
ToolNotAllowed,
TrustPolicyDenied(String),
ConfirmationRequired(String),
InvalidParams(String),
ServiceUnavailable(String),
ExecutionFailed(String),
PayloadTooLarge(usize),
ConcurrencyLimitExceeded,
InvalidDescriptor(String),
}Variants§
ToolNotFound
ToolNotAllowed
TrustPolicyDenied(String)
ConfirmationRequired(String)
InvalidParams(String)
ExecutionFailed(String)
PayloadTooLarge(usize)
ConcurrencyLimitExceeded
InvalidDescriptor(String)
Trait Implementations§
Source§impl Clone for NexaraError
impl Clone for NexaraError
Source§fn clone(&self) -> NexaraError
fn clone(&self) -> NexaraError
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 NexaraError
impl Debug for NexaraError
Source§impl Display for NexaraError
impl Display for NexaraError
Source§impl Error for NexaraError
impl Error for NexaraError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for NexaraError
impl PartialEq for NexaraError
Source§fn eq(&self, other: &NexaraError) -> bool
fn eq(&self, other: &NexaraError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NexaraError
impl StructuralPartialEq for NexaraError
Auto Trait Implementations§
impl Freeze for NexaraError
impl RefUnwindSafe for NexaraError
impl Send for NexaraError
impl Sync for NexaraError
impl Unpin for NexaraError
impl UnsafeUnpin for NexaraError
impl UnwindSafe for NexaraError
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