pub enum AcpCliError {
Agent(String),
Usage(String),
Timeout(u64),
NoSession {
agent: String,
cwd: String,
},
PermissionDenied(String),
Interrupted,
Io(Error),
Connection(String),
}Variants§
Agent(String)
Usage(String)
Timeout(u64)
NoSession
PermissionDenied(String)
Interrupted
Io(Error)
Connection(String)
Implementations§
Trait Implementations§
Source§impl Debug for AcpCliError
impl Debug for AcpCliError
Source§impl Display for AcpCliError
impl Display for AcpCliError
Source§impl Error for AcpCliError
impl Error for AcpCliError
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 AcpCliError
impl !RefUnwindSafe for AcpCliError
impl Send for AcpCliError
impl Sync for AcpCliError
impl Unpin for AcpCliError
impl UnsafeUnpin for AcpCliError
impl !UnwindSafe for AcpCliError
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