pub enum ReceiveSegmentResult {
Received,
Duplicate,
ExceedsWindow,
}
Expand description
result enum of StreamInboundState::receive_segment
Variants§
Received
some or all of the segment is new and has been processed
Duplicate
all of the segment has already been received
ExceedsWindow
segment exceeds window limit and stream state is inconsistent
Trait Implementations§
Source§impl Debug for ReceiveSegmentResult
impl Debug for ReceiveSegmentResult
Source§impl PartialEq for ReceiveSegmentResult
impl PartialEq for ReceiveSegmentResult
impl StructuralPartialEq for ReceiveSegmentResult
Auto Trait Implementations§
impl Freeze for ReceiveSegmentResult
impl RefUnwindSafe for ReceiveSegmentResult
impl Send for ReceiveSegmentResult
impl Sync for ReceiveSegmentResult
impl Unpin for ReceiveSegmentResult
impl UnwindSafe for ReceiveSegmentResult
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