pub enum FrameType {
Data(BitFlags<DataFlags>),
Headers(BitFlags<HeadersFlags>),
Priority,
RstStream,
Settings(BitFlags<SettingsFlags>),
PushPromise,
Ping(BitFlags<PingFlags>),
GoAway,
WindowUpdate,
Continuation(BitFlags<ContinuationFlags>),
Unknown(EncodedFrameType),
}
Expand description
Typed flags for various frame types
Variants§
Data(BitFlags<DataFlags>)
Headers(BitFlags<HeadersFlags>)
Priority
RstStream
Settings(BitFlags<SettingsFlags>)
PushPromise
Ping(BitFlags<PingFlags>)
GoAway
WindowUpdate
Continuation(BitFlags<ContinuationFlags>)
Unknown(EncodedFrameType)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnwindSafe for FrameType
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