#[repr(u8)]pub enum ContinuationFlags {
EndHeaders = 4,
}
Expand description
See https://httpwg.org/specs/rfc9113.html#CONTINUATION
Variants§
EndHeaders = 4
Trait Implementations§
Source§impl BitAnd for ContinuationFlags
impl BitAnd for ContinuationFlags
Source§impl BitFlag for ContinuationFlags
impl BitFlag for ContinuationFlags
Source§fn empty() -> BitFlags<Self>
fn empty() -> BitFlags<Self>
Create a
BitFlags
with no flags set (in other words, with a value of 0). Read moreSource§fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
fn from_bits(bits: Self::Numeric) -> Result<BitFlags<Self>, FromBitsError<Self>>
Create a
BitFlags
if the raw value provided does not contain
any illegal flags. Read moreSource§fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
fn from_bits_truncate(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags
from an underlying bitwise value. If any
invalid bits are set, ignore them. Read moreSource§unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
unsafe fn from_bits_unchecked(bits: Self::Numeric) -> BitFlags<Self>
Create a
BitFlags
unsafely, without checking if the bits form
a valid bit pattern for the type. Read moreSource§impl BitOr for ContinuationFlags
impl BitOr for ContinuationFlags
Source§impl BitXor for ContinuationFlags
impl BitXor for ContinuationFlags
Source§impl Clone for ContinuationFlags
impl Clone for ContinuationFlags
Source§fn clone(&self) -> ContinuationFlags
fn clone(&self) -> ContinuationFlags
Returns a duplicate 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 ContinuationFlags
impl Debug for ContinuationFlags
Source§impl Not for ContinuationFlags
impl Not for ContinuationFlags
Source§impl PartialEq for ContinuationFlags
impl PartialEq for ContinuationFlags
Source§impl RawBitFlags for ContinuationFlags
impl RawBitFlags for ContinuationFlags
Source§const EMPTY: <Self as RawBitFlags>::Numeric = {transmute(0x00): <ContinuationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
const EMPTY: <Self as RawBitFlags>::Numeric = {transmute(0x00): <ContinuationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
A value with no bits set.
Source§const DEFAULT: <Self as RawBitFlags>::Numeric = {transmute(0x00): <ContinuationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
const DEFAULT: <Self as RawBitFlags>::Numeric = {transmute(0x00): <ContinuationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
The value used by the Default implementation. Equivalent to EMPTY, unless
customized.
Source§const ALL_BITS: <Self as RawBitFlags>::Numeric = {transmute(0x04): <ContinuationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
const ALL_BITS: <Self as RawBitFlags>::Numeric = {transmute(0x04): <ContinuationFlags as enumflags2::_internal::RawBitFlags>::Numeric}
A value with all flag bits set.
Source§const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<ContinuationFlags>"
const BITFLAGS_TYPE_NAME: &'static str = "BitFlags<ContinuationFlags>"
The name of the type for debug formatting purposes. Read more
impl Copy for ContinuationFlags
impl Eq for ContinuationFlags
impl StructuralPartialEq for ContinuationFlags
Auto Trait Implementations§
impl Freeze for ContinuationFlags
impl RefUnwindSafe for ContinuationFlags
impl Send for ContinuationFlags
impl Sync for ContinuationFlags
impl Unpin for ContinuationFlags
impl UnwindSafe for ContinuationFlags
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