Enum async_proto::WriteError [−][src]
pub enum WriteError {
BufSize(TryFromIntError),
Custom(String),
Io(Arc<Error>),
Tungstenite(Arc<Error>),
Warp(Arc<Error>),
}
Expand description
The error returned from the write
and write_sync
methods.
Variants
Tried to send a buffer with more than u64::MAX
elements
Tuple Fields of BufSize
An error variant you can use when manually implementing Protocol
Tuple Fields of Custom
0: String
Used in the tokio-tungstenite
feature
Tuple Fields of Tungstenite
0: Arc<Error>
Used in the warp
feature
Trait Implementations
Performs the conversion.
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 WriteError
impl Send for WriteError
impl Sync for WriteError
impl Unpin for WriteError
impl !UnwindSafe for WriteError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self