enum Kind {
Reset(StreamId, Reason, Initiator),
GoAway(Bytes, Reason, Initiator),
Reason(Reason),
User(UserError),
Io(Error),
}
Variants§
Reset(StreamId, Reason, Initiator)
A RST_STREAM frame was received or sent.
GoAway(Bytes, Reason, Initiator)
A GO_AWAY frame was received or sent.
Reason(Reason)
The user created an error from a bare Reason.
User(UserError)
An error resulting from an invalid action taken by the user of this library.
Io(Error)
An io::Error
occurred while trying to read or write.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Kind
impl !RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl !UnwindSafe for Kind
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