pub enum FrameParseResult {
Retry,
FrameParsed {
h3i_frame: H3iFrame,
fin: bool,
},
Interrupted(InterruptCause),
}Expand description
Represents different frame parsing outcomes.
Variants§
Retry
The frame was unable to be parsed at the current moment. This signifies
that the stream is retryable without another I/O cycle. If another
I/O cycle is needed, a quiche::h3::Error::TransportError
containing quiche::Error::Done will be returned.
FrameParsed
A frame has been successfully parsed. fin denotes if the FIN bit was
set.
Interrupted(InterruptCause)
A frame is in the middle of being parsed, but either a FIN bit or a RESET_STREAM was received.
Trait Implementations§
Source§impl Debug for FrameParseResult
impl Debug for FrameParseResult
Source§impl PartialEq for FrameParseResult
impl PartialEq for FrameParseResult
impl Eq for FrameParseResult
impl StructuralPartialEq for FrameParseResult
Auto Trait Implementations§
impl Freeze for FrameParseResult
impl RefUnwindSafe for FrameParseResult
impl Send for FrameParseResult
impl Sync for FrameParseResult
impl Unpin for FrameParseResult
impl UnwindSafe for FrameParseResult
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more