pub enum NetworkError {
}Expand description
Errors from Layer 3 network operations.
Variants§
NotRunning
The network provider is not running.
AlreadyRunning
The network provider is already running.
StartFailed(String)
Failed to start the network provider.
StopFailed(String)
Failed to stop the network provider.
AuthRequired
Authentication is required.
DialFailed(String)
A dial operation failed.
DialTimeout(Duration)
A dial operation timed out.
ListenFailed(String)
A listen operation failed.
PingFailed(String)
A ping operation failed.
SidecarError(String)
The sidecar process crashed or is unavailable.
BridgeError(String)
Bridge communication error.
Io(Error)
I/O error.
Serialize(Error)
Serialization error.
Internal(String)
Generic internal error.
Trait Implementations§
Source§impl Debug for NetworkError
impl Debug for NetworkError
Source§impl Display for NetworkError
impl Display for NetworkError
Source§impl Error for NetworkError
impl Error for NetworkError
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<Error> for NetworkError
impl From<Error> for NetworkError
Source§impl From<Error> for NetworkError
impl From<Error> for NetworkError
Source§impl From<NetworkError> for NodeError
impl From<NetworkError> for NodeError
Source§fn from(source: NetworkError) -> Self
fn from(source: NetworkError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkError> for TransportError
impl From<NetworkError> for TransportError
Source§fn from(source: NetworkError) -> Self
fn from(source: NetworkError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NetworkError
impl !RefUnwindSafe for NetworkError
impl Send for NetworkError
impl Sync for NetworkError
impl Unpin for NetworkError
impl UnsafeUnpin for NetworkError
impl !UnwindSafe for NetworkError
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