#[repr(transparent)]pub struct FdSocketAddressWrapper {
pub data: FdSocketAddress,
}
Fields§
§data: FdSocketAddress
Implementations§
Source§impl FdSocketAddressWrapper
impl FdSocketAddressWrapper
pub fn into_inner(self) -> FdSocketAddress
Trait Implementations§
Source§impl AsRef<FdSocketAddress> for FdSocketAddressWrapper
impl AsRef<FdSocketAddress> for FdSocketAddressWrapper
Source§fn as_ref(&self) -> &FdSocketAddress
fn as_ref(&self) -> &FdSocketAddress
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for FdSocketAddressWrapper
impl Clone for FdSocketAddressWrapper
Source§fn clone(&self) -> FdSocketAddressWrapper
fn clone(&self) -> FdSocketAddressWrapper
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 FdSocketAddressWrapper
impl Debug for FdSocketAddressWrapper
Source§impl Deref for FdSocketAddressWrapper
impl Deref for FdSocketAddressWrapper
Source§impl<'de> Deserialize<'de> for FdSocketAddressWrapper
impl<'de> Deserialize<'de> for FdSocketAddressWrapper
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
Source§impl From<FdSocketAddressWrapper> for SocketAddressLegacy
impl From<FdSocketAddressWrapper> for SocketAddressLegacy
Source§fn from(val: FdSocketAddressWrapper) -> Self
fn from(val: FdSocketAddressWrapper) -> Self
Converts to this type from the input type.
Source§impl<T: Into<FdSocketAddress>> From<T> for FdSocketAddressWrapper
impl<T: Into<FdSocketAddress>> From<T> for FdSocketAddressWrapper
Auto Trait Implementations§
impl Freeze for FdSocketAddressWrapper
impl RefUnwindSafe for FdSocketAddressWrapper
impl Send for FdSocketAddressWrapper
impl Sync for FdSocketAddressWrapper
impl Unpin for FdSocketAddressWrapper
impl UnwindSafe for FdSocketAddressWrapper
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