Enum enet_client::cmd::CommandError [−][src]
#[non_exhaustive]
pub enum CommandError {
SendError(SendError),
RecvError(RecvError),
ConnectionClosed(ConnectionClosed),
NoResponse(NoResponse),
WrongResponse(Response),
}Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ConnectionClosed(ConnectionClosed)Tuple Fields of ConnectionClosed
NoResponse(NoResponse)Tuple Fields of NoResponse
0: NoResponseWrongResponse(Response)Tuple Fields of WrongResponse
0: ResponseTrait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for CommandError
impl Send for CommandError
impl Sync for CommandError
impl Unpin for CommandError
impl !UnwindSafe for CommandError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more