pub struct UnscaledWindowSize(/* private fields */);
Expand description
Window size that is used in the window field of a TCP segment.
For connections with window scaling enabled, the receiver has to scale this value back to get the real window size advertised by the peer.
Trait Implementations§
Source§impl Clone for UnscaledWindowSize
impl Clone for UnscaledWindowSize
Source§fn clone(&self) -> UnscaledWindowSize
fn clone(&self) -> UnscaledWindowSize
Returns a copy 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 UnscaledWindowSize
impl Debug for UnscaledWindowSize
Source§impl From<UnscaledWindowSize> for u16
impl From<UnscaledWindowSize> for u16
Source§fn from(UnscaledWindowSize: UnscaledWindowSize) -> Self
fn from(UnscaledWindowSize: UnscaledWindowSize) -> Self
Converts to this type from the input type.
Source§impl From<u16> for UnscaledWindowSize
impl From<u16> for UnscaledWindowSize
Source§impl PartialEq for UnscaledWindowSize
impl PartialEq for UnscaledWindowSize
Source§impl Shl<WindowScale> for UnscaledWindowSize
impl Shl<WindowScale> for UnscaledWindowSize
Source§type Output = WindowSize
type Output = WindowSize
The resulting type after applying the
<<
operator.impl Copy for UnscaledWindowSize
impl Eq for UnscaledWindowSize
impl StructuralPartialEq for UnscaledWindowSize
Auto Trait Implementations§
impl Freeze for UnscaledWindowSize
impl RefUnwindSafe for UnscaledWindowSize
impl Send for UnscaledWindowSize
impl Sync for UnscaledWindowSize
impl Unpin for UnscaledWindowSize
impl UnwindSafe for UnscaledWindowSize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CCwhere
Meta: ReceivableFrameMeta<CC, BC>,
Source§impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CCwhere
Meta: SendableFrameMeta<CC, BC>,
Source§fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
fn send_frame<S>(
&mut self,
bindings_ctx: &mut BC,
metadata: Meta,
frame: S,
) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>where
S: Serializer,
<S as Serializer>::Buffer: BufferMut,
Send a frame. Read more
Source§impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
impl<Id, CC, BC> TimerHandler<BC, Id> for CCwhere
BC: TimerBindingsTypes,
Id: HandleableTimer<CC, BC>,
Source§fn handle_timer(
&mut self,
bindings_ctx: &mut BC,
dispatch: Id,
timer: <BC as TimerBindingsTypes>::UniqueTimerId,
)
fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )
Handle a timer firing. Read more