#[repr(C)]pub struct WSAPROTOCOL_INFOA {Show 20 fields
pub dwServiceFlags1: DWORD,
pub dwServiceFlags2: DWORD,
pub dwServiceFlags3: DWORD,
pub dwServiceFlags4: DWORD,
pub dwServiceFlags5: DWORD,
pub ProviderId: GUID,
pub dwCatalogEntryId: DWORD,
pub ProtocolChain: WSAPROTOCOLCHAIN,
pub iVersion: c_int,
pub iAddressFamily: c_int,
pub iMaxSockAddr: c_int,
pub iMinSockAddr: c_int,
pub iSocketType: c_int,
pub iProtocol: c_int,
pub iProtocolMaxOffset: c_int,
pub iNetworkByteOrder: c_int,
pub iSecurityScheme: c_int,
pub dwMessageSize: DWORD,
pub dwProviderReserved: DWORD,
pub szProtocol: [CHAR; 256],
}
Fields
dwServiceFlags1: DWORD
dwServiceFlags2: DWORD
dwServiceFlags3: DWORD
dwServiceFlags4: DWORD
dwServiceFlags5: DWORD
ProviderId: GUID
dwCatalogEntryId: DWORD
ProtocolChain: WSAPROTOCOLCHAIN
iVersion: c_int
iAddressFamily: c_int
iMaxSockAddr: c_int
iMinSockAddr: c_int
iSocketType: c_int
iProtocol: c_int
iProtocolMaxOffset: c_int
iNetworkByteOrder: c_int
iSecurityScheme: c_int
dwMessageSize: DWORD
dwProviderReserved: DWORD
szProtocol: [CHAR; 256]
Trait Implementations
sourceimpl Clone for WSAPROTOCOL_INFOA
impl Clone for WSAPROTOCOL_INFOA
sourcefn clone(&self) -> WSAPROTOCOL_INFOA
fn clone(&self) -> WSAPROTOCOL_INFOA
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for WSAPROTOCOL_INFOA
Auto Trait Implementations
impl RefUnwindSafe for WSAPROTOCOL_INFOA
impl Send for WSAPROTOCOL_INFOA
impl Sync for WSAPROTOCOL_INFOA
impl Unpin for WSAPROTOCOL_INFOA
impl UnwindSafe for WSAPROTOCOL_INFOA
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more