#[repr(C)]pub struct WSAPROTOCOL_INFOW {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: [WCHAR; 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: [WCHAR; 256]
Trait Implementations§
Source§impl Clone for WSAPROTOCOL_INFOW
impl Clone for WSAPROTOCOL_INFOW
Source§fn clone(&self) -> WSAPROTOCOL_INFOW
fn clone(&self) -> WSAPROTOCOL_INFOW
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for WSAPROTOCOL_INFOW
impl Default for WSAPROTOCOL_INFOW
Source§fn default() -> WSAPROTOCOL_INFOW
fn default() -> WSAPROTOCOL_INFOW
Returns the “default value” for a type. Read more
impl Copy for WSAPROTOCOL_INFOW
Auto Trait Implementations§
impl Freeze for WSAPROTOCOL_INFOW
impl RefUnwindSafe for WSAPROTOCOL_INFOW
impl Send for WSAPROTOCOL_INFOW
impl Sync for WSAPROTOCOL_INFOW
impl Unpin for WSAPROTOCOL_INFOW
impl UnwindSafe for WSAPROTOCOL_INFOW
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