#[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: DWORDdwServiceFlags2: DWORDdwServiceFlags3: DWORDdwServiceFlags4: DWORDdwServiceFlags5: DWORDProviderId: GUIDdwCatalogEntryId: DWORDProtocolChain: WSAPROTOCOLCHAINiVersion: c_intiAddressFamily: c_intiMaxSockAddr: c_intiMinSockAddr: c_intiSocketType: c_intiProtocol: c_intiProtocolMaxOffset: c_intiNetworkByteOrder: c_intiSecurityScheme: c_intdwMessageSize: DWORDdwProviderReserved: DWORDszProtocol: [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