pub enum AgentSimError {
Cli(CliError),
Config(ConfigError),
Connection(ConnectionError),
Daemon(DaemonError),
EnvDaemon(EnvDaemonError),
Protocol(ProtocolError),
Project(ProjectError),
Sim(SimError),
Time(TimeError),
Io(Error),
}Variants§
Cli(CliError)
Config(ConfigError)
Connection(ConnectionError)
Daemon(DaemonError)
EnvDaemon(EnvDaemonError)
Protocol(ProtocolError)
Project(ProjectError)
Sim(SimError)
Time(TimeError)
Io(Error)
Trait Implementations§
Source§impl Debug for AgentSimError
impl Debug for AgentSimError
Source§impl Display for AgentSimError
impl Display for AgentSimError
Source§impl Error for AgentSimError
impl Error for AgentSimError
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 From<CliError> for AgentSimError
impl From<CliError> for AgentSimError
Source§impl From<ConfigError> for AgentSimError
impl From<ConfigError> for AgentSimError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<ConnectionError> for AgentSimError
impl From<ConnectionError> for AgentSimError
Source§fn from(source: ConnectionError) -> Self
fn from(source: ConnectionError) -> Self
Converts to this type from the input type.
Source§impl From<DaemonError> for AgentSimError
impl From<DaemonError> for AgentSimError
Source§fn from(source: DaemonError) -> Self
fn from(source: DaemonError) -> Self
Converts to this type from the input type.
Source§impl From<EnvDaemonError> for AgentSimError
impl From<EnvDaemonError> for AgentSimError
Source§fn from(source: EnvDaemonError) -> Self
fn from(source: EnvDaemonError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for AgentSimError
impl From<Error> for AgentSimError
Source§impl From<ProjectError> for AgentSimError
impl From<ProjectError> for AgentSimError
Source§fn from(source: ProjectError) -> Self
fn from(source: ProjectError) -> Self
Converts to this type from the input type.
Source§impl From<ProtocolError> for AgentSimError
impl From<ProtocolError> for AgentSimError
Source§fn from(source: ProtocolError) -> Self
fn from(source: ProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<SimError> for AgentSimError
impl From<SimError> for AgentSimError
Auto Trait Implementations§
impl Freeze for AgentSimError
impl !RefUnwindSafe for AgentSimError
impl Send for AgentSimError
impl Sync for AgentSimError
impl Unpin for AgentSimError
impl UnsafeUnpin for AgentSimError
impl !UnwindSafe for AgentSimError
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