pub struct IpTos;
๐Deprecated since 0.30.0: Use Ipv4Tos instead
Expand description
Set or receive the Type-Of-Service (TOS) field that is sent with every IP packet originating from this socket
Trait Implementationsยง
sourceยงimpl GetSockOpt for IpTos
impl GetSockOpt for IpTos
sourceยงimpl SetSockOpt for IpTos
impl SetSockOpt for IpTos
impl Copy for IpTos
impl Eq for IpTos
impl StructuralPartialEq for IpTos
Auto Trait Implementationsยง
impl Freeze for IpTos
impl RefUnwindSafe for IpTos
impl Send for IpTos
impl Sync for IpTos
impl Unpin for IpTos
impl UnwindSafe for IpTos
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
)