pub struct AddrInfoHints {
pub address_family: AddressFamily,
}
Expand description
Portable AddrInfoHints
.
Fields§
§address_family: AddressFamily
Address family to request.
Implementations§
Source§impl AddrInfoHints
impl AddrInfoHints
Sourcepub fn builder() -> AddrInfoHintsBuilder
pub fn builder() -> AddrInfoHintsBuilder
Create a new AddrInfoHints
builder.
Trait Implementations§
Source§impl Debug for AddrInfoHints
impl Debug for AddrInfoHints
Source§impl Default for AddrInfoHints
impl Default for AddrInfoHints
Source§fn default() -> AddrInfoHints
fn default() -> AddrInfoHints
Returns the “default value” for a type. Read more
Source§impl From<&AddrInfoHints> for AddrInfoHints
impl From<&AddrInfoHints> for AddrInfoHints
Source§fn from(opts: &AddrInfoHints) -> Self
fn from(opts: &AddrInfoHints) -> Self
Converts to this type from the input type.
Source§impl From<AddrInfoHints> for AddrInfoHints
impl From<AddrInfoHints> for AddrInfoHints
Source§fn from(opts: AddrInfoHints) -> Self
fn from(opts: AddrInfoHints) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AddrInfoHints
impl RefUnwindSafe for AddrInfoHints
impl Send for AddrInfoHints
impl Sync for AddrInfoHints
impl Unpin for AddrInfoHints
impl UnwindSafe for AddrInfoHints
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