Struct curl_sys::curl_sockaddr
source · [−]#[repr(C)]pub struct curl_sockaddr {
pub family: c_int,
pub socktype: c_int,
pub protocol: c_int,
pub addrlen: c_uint,
pub addr: sockaddr,
}
Fields
family: c_int
socktype: c_int
protocol: c_int
addrlen: c_uint
addr: sockaddr
Auto Trait Implementations
impl RefUnwindSafe for curl_sockaddr
impl Send for curl_sockaddr
impl Sync for curl_sockaddr
impl Unpin for curl_sockaddr
impl UnwindSafe for curl_sockaddr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more