pub struct TransportCaps {
pub mtu_hint: u16,
pub ordered_delivery: bool,
}Fields§
§mtu_hint: u16§ordered_delivery: boolTrait Implementations§
Source§impl Clone for TransportCaps
impl Clone for TransportCaps
Source§fn clone(&self) -> TransportCaps
fn clone(&self) -> TransportCaps
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransportCaps
Source§impl Debug for TransportCaps
impl Debug for TransportCaps
impl Eq for TransportCaps
Source§impl PartialEq for TransportCaps
impl PartialEq for TransportCaps
Source§fn eq(&self, other: &TransportCaps) -> bool
fn eq(&self, other: &TransportCaps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransportCaps
Auto Trait Implementations§
impl Freeze for TransportCaps
impl RefUnwindSafe for TransportCaps
impl Send for TransportCaps
impl Sync for TransportCaps
impl Unpin for TransportCaps
impl UnsafeUnpin for TransportCaps
impl UnwindSafe for TransportCaps
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