pub enum Criticality {
Critical,
Elective,
}Expand description
Classification of options by their default end-point behavior
Variants§
Critical
Servers that receive such an option and do not know it MUST return 4.02 Bad Option, and clients MUST reject responses carrying any such.
Elective
Endpoints receiving an unrecognized option oif this kind MUST silently ignore them.
Trait Implementations§
Source§impl Clone for Criticality
impl Clone for Criticality
Source§fn clone(&self) -> Criticality
fn clone(&self) -> Criticality
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Criticality
impl Debug for Criticality
Source§impl PartialEq for Criticality
impl PartialEq for Criticality
impl Copy for Criticality
impl StructuralPartialEq for Criticality
Auto Trait Implementations§
impl Freeze for Criticality
impl RefUnwindSafe for Criticality
impl Send for Criticality
impl Sync for Criticality
impl Unpin for Criticality
impl UnwindSafe for Criticality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Critical: 0 bytesElective: 0 bytes