pub struct UdpCapabilities {
pub max_gso_segments: usize,
}
Expand description
The capabilities a UDP socket supports on a certain platform.
Fields§
§max_gso_segments: usize
The maximum amount of segments which can be transmitted if a platform supports Generic Send Offload (GSO). This is 1 if the platform doesn’t support GSO.
Trait Implementations§
Source§impl Clone for UdpCapabilities
impl Clone for UdpCapabilities
Source§fn clone(&self) -> UdpCapabilities
fn clone(&self) -> UdpCapabilities
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 UdpCapabilities
impl Debug for UdpCapabilities
impl Copy for UdpCapabilities
Auto Trait Implementations§
impl Freeze for UdpCapabilities
impl RefUnwindSafe for UdpCapabilities
impl Send for UdpCapabilities
impl Sync for UdpCapabilities
impl Unpin for UdpCapabilities
impl UnwindSafe for UdpCapabilities
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
)