Struct esp_idf_sys::ip_addr
source · [−]#[repr(C)]pub struct ip_addr {
pub u_addr: ip_addr__bindgen_ty_1,
pub type_: u8_t,
}
Expand description
@ingroup ipaddr A union struct for both IP version’s addresses. ATTENTION: watch out for its size when adding IPv6 address scope!
Fields
u_addr: ip_addr__bindgen_ty_1
type_: u8_t
@ref lwip_ip_addr_type
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ip_addr
impl Send for ip_addr
impl Sync for ip_addr
impl Unpin for ip_addr
impl UnwindSafe for ip_addr
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
Uses borrowed data to replace owned data, usually by cloning. Read more