pub enum SessionErrorCategory {
DataStream,
ControlStream,
Either,
}Expand description
The category Section 12.2 gives a session termination code in 0x200-0x4FF.
“0x200-0x2FF: Data stream and datagram errors”, “0x300-0x3FF: Control stream and control message errors”, “0x400-0x4FF: Errors that can occur in either”. “The values reserved for greasing (Section 13) that fall within these ranges are not assigned to a category.”
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SessionErrorCategory
impl Clone for SessionErrorCategory
impl Copy for SessionErrorCategory
Source§impl Debug for SessionErrorCategory
impl Debug for SessionErrorCategory
impl Eq for SessionErrorCategory
Source§impl PartialEq for SessionErrorCategory
impl PartialEq for SessionErrorCategory
impl StructuralPartialEq for SessionErrorCategory
Auto Trait Implementations§
impl Freeze for SessionErrorCategory
impl RefUnwindSafe for SessionErrorCategory
impl Send for SessionErrorCategory
impl Sync for SessionErrorCategory
impl Unpin for SessionErrorCategory
impl UnsafeUnpin for SessionErrorCategory
impl UnwindSafe for SessionErrorCategory
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