pub enum AgentError {
User,
Proto(ProtoError),
IO(Error),
}
Variants§
Trait Implementations§
Source§impl Debug for AgentError
impl Debug for AgentError
Source§impl From<Error> for AgentError
impl From<Error> for AgentError
Source§fn from(e: Error) -> AgentError
fn from(e: Error) -> AgentError
Converts to this type from the input type.
Source§impl From<ProtoError> for AgentError
impl From<ProtoError> for AgentError
Source§fn from(e: ProtoError) -> AgentError
fn from(e: ProtoError) -> AgentError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AgentError
impl !RefUnwindSafe for AgentError
impl Send for AgentError
impl Sync for AgentError
impl Unpin for AgentError
impl !UnwindSafe for AgentError
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