pub enum YgwError {
Show 14 variants
IOError(String, Error),
DeviceAccessError(String),
ParseError(String),
DecodeError(String),
TargetChannelClosed(u32),
ServerShutdown,
ConversionError(String, String),
RecordingFileFull(u32),
CorruptedRecordingFile(String),
CommandError(String),
Generic(String),
TerminationError(String),
Unresolvable(String, u16),
Other(Box<dyn Error + Send + Sync>),
}Variants§
IOError(String, Error)
DeviceAccessError(String)
ParseError(String)
DecodeError(String)
TargetChannelClosed(u32)
ServerShutdown
this is used to quit the run method of the nodes when the channel towards the server is closed
ConversionError(String, String)
RecordingFileFull(u32)
CorruptedRecordingFile(String)
CommandError(String)
Generic(String)
TerminationError(String)
Unresolvable(String, u16)
Other(Box<dyn Error + Send + Sync>)
Trait Implementations§
Source§impl Error for YgwError
impl Error for YgwError
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 YgwError
impl !RefUnwindSafe for YgwError
impl Send for YgwError
impl Sync for YgwError
impl Unpin for YgwError
impl !UnwindSafe for YgwError
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