Enum hrpc::server::SocketError [−][src]
pub enum SocketError {
ClosedNormally,
MessageDecode(DecodeError),
Other(Error),
}
Variants
The socket is closed normally. This is NOT an error.
MessageDecode(DecodeError)
Error occured while decoding protobuf data.
Tuple Fields of MessageDecode
0: DecodeError
Other(Error)
Some error occured in socket.
Tuple Fields of Other
0: Error
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SocketError
impl Send for SocketError
impl Sync for SocketError
impl Unpin for SocketError
impl !UnwindSafe for SocketError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Convert this to a request.
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