pub struct NetdevDgramOptions {
pub local: Option<SocketAddress>,
pub remote: Option<SocketAddress>,
}
Fields§
§local: Option<SocketAddress>
§remote: Option<SocketAddress>
Trait Implementations§
Source§impl Clone for NetdevDgramOptions
impl Clone for NetdevDgramOptions
Source§fn clone(&self) -> NetdevDgramOptions
fn clone(&self) -> NetdevDgramOptions
Returns a duplicate 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 NetdevDgramOptions
impl Debug for NetdevDgramOptions
Source§impl Default for NetdevDgramOptions
impl Default for NetdevDgramOptions
Source§fn default() -> NetdevDgramOptions
fn default() -> NetdevDgramOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetdevDgramOptions
impl<'de> Deserialize<'de> for NetdevDgramOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for NetdevDgramOptions
impl RefUnwindSafe for NetdevDgramOptions
impl Send for NetdevDgramOptions
impl Sync for NetdevDgramOptions
impl Unpin for NetdevDgramOptions
impl UnwindSafe for NetdevDgramOptions
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