Struct binate::Error [−][src]
pub struct Error { /* fields omitted */ }
Expand description
Errors that can occur when handling RSocket streams.
Implementations
Returns true if this error is a RSocket protocol error.
Returns true if this is protocol error INVALID_SETUP
.
Returns true if this is protocol error UNSUPPORTED_SETUP
.
Returns true if this is protocol error REJECTED_SETUP
.
Returns true if this is protocol error REJECTED_RESUME
.
Returns true if this is protocol error CONNECTION_ERROR
.
Sender or Receiver of this error MAY close the connection immediately without waiting for outstanding streams to terminate.
Returns true if this is protocol error CONNECTION_CLOSE
.
Sender or Receiver of this error MUST wait for outstanding streams to terminate before closing the connection. New requests MAY not be accepted.
Returns true if this is protocol error APPLICATION_ERROR
.
Returns true if this is protocol error REJECTED
.
Returns true if this is protocol error INVALID
.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error