pub enum AgentOperationError {
PermissionDenied,
BackendError(String),
}Expand description
Error returned by an operation targeting another agent.
Variants§
Trait Implementations§
Source§impl Clone for AgentOperationError
impl Clone for AgentOperationError
Source§impl Debug for AgentOperationError
impl Debug for AgentOperationError
Source§impl Display for AgentOperationError
impl Display for AgentOperationError
Source§impl Error for AgentOperationError
impl Error for AgentOperationError
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()
Auto Trait Implementations§
impl Freeze for AgentOperationError
impl RefUnwindSafe for AgentOperationError
impl Send for AgentOperationError
impl Sync for AgentOperationError
impl Unpin for AgentOperationError
impl UnsafeUnpin for AgentOperationError
impl UnwindSafe for AgentOperationError
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