pub struct OptDelta(pub u16);Expand description
The “Option Delta” is the difference between this Option’s Number and the previous Option’s number.
This is just used to compute the Option Number, identifying which Option is being set (e.g. Content-Format has a Number of 12)
§Related
Tuple Fields§
§0: u16Trait Implementations§
Source§impl Ord for OptDelta
impl Ord for OptDelta
Source§impl PartialOrd for OptDelta
impl PartialOrd for OptDelta
impl Copy for OptDelta
impl Eq for OptDelta
impl StructuralPartialEq for OptDelta
Auto Trait Implementations§
impl Freeze for OptDelta
impl RefUnwindSafe for OptDelta
impl Send for OptDelta
impl Sync for OptDelta
impl Unpin for OptDelta
impl UnwindSafe for OptDelta
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