#[non_exhaustive]pub enum StreamResetError {
Denied,
Failed,
}Expand description
Why a stream reset did not complete successfully.
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.
Denied
The peer explicitly denied the reset request.
Failed
The reset failed because of a protocol error or exhausted retransmissions.
Trait Implementations§
Source§impl Clone for StreamResetError
impl Clone for StreamResetError
Source§fn clone(&self) -> StreamResetError
fn clone(&self) -> StreamResetError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamResetError
Source§impl Debug for StreamResetError
impl Debug for StreamResetError
impl Eq for StreamResetError
Source§impl PartialEq for StreamResetError
impl PartialEq for StreamResetError
impl StructuralPartialEq for StreamResetError
Auto Trait Implementations§
impl Freeze for StreamResetError
impl RefUnwindSafe for StreamResetError
impl Send for StreamResetError
impl Sync for StreamResetError
impl Unpin for StreamResetError
impl UnsafeUnpin for StreamResetError
impl UnwindSafe for StreamResetError
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