pub enum NetbeatError {
ConnectionError(Error),
ProtocolError {
message: String,
},
ServerError {
message: String,
},
ClientError {
message: String,
},
TestExecutionError {
message: String,
},
}
Expand description
Errors that can occur in netbeat operations
Variants§
ConnectionError(Error)
Network connection errors
ProtocolError
Protocol errors
ServerError
Server errors
ClientError
Client errors
TestExecutionError
Test execution errors
Implementations§
Source§impl NetbeatError
impl NetbeatError
Trait Implementations§
Source§impl Debug for NetbeatError
impl Debug for NetbeatError
Source§impl Display for NetbeatError
impl Display for NetbeatError
Source§impl Error for NetbeatError
impl Error for NetbeatError
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 NetbeatError
impl !RefUnwindSafe for NetbeatError
impl Send for NetbeatError
impl Sync for NetbeatError
impl Unpin for NetbeatError
impl !UnwindSafe for NetbeatError
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