Struct steamworks_sys::ISteamNetworkingUtils
source · [−]#[repr(C)]pub struct ISteamNetworkingUtils {
pub vtable_: *const ISteamNetworkingUtils__bindgen_vtable,
}
Expand description
Misc networking utilities for checking the local networking environment and estimating pings.
Fields
vtable_: *const ISteamNetworkingUtils__bindgen_vtable
Implementations
sourceimpl ISteamNetworkingUtils
impl ISteamNetworkingUtils
pub unsafe fn SetGlobalConfigValueInt32(
&mut self,
eValue: ESteamNetworkingConfigValue,
val: int32
) -> bool
pub unsafe fn SetGlobalConfigValueFloat(
&mut self,
eValue: ESteamNetworkingConfigValue,
val: f32
) -> bool
pub unsafe fn SetGlobalConfigValueString(
&mut self,
eValue: ESteamNetworkingConfigValue,
val: *const c_char
) -> bool
pub unsafe fn SetGlobalConfigValuePtr(
&mut self,
eValue: ESteamNetworkingConfigValue,
val: *mut c_void
) -> bool
pub unsafe fn SetConnectionConfigValueInt32(
&mut self,
hConn: HSteamNetConnection,
eValue: ESteamNetworkingConfigValue,
val: int32
) -> bool
pub unsafe fn SetConnectionConfigValueFloat(
&mut self,
hConn: HSteamNetConnection,
eValue: ESteamNetworkingConfigValue,
val: f32
) -> bool
pub unsafe fn SetConnectionConfigValueString(
&mut self,
hConn: HSteamNetConnection,
eValue: ESteamNetworkingConfigValue,
val: *const c_char
) -> bool
pub unsafe fn SetGlobalCallback_SteamNetConnectionStatusChanged(
&mut self,
fnCallback: FnSteamNetConnectionStatusChanged
) -> bool
pub unsafe fn SetGlobalCallback_SteamNetAuthenticationStatusChanged(
&mut self,
fnCallback: FnSteamNetAuthenticationStatusChanged
) -> bool
pub unsafe fn SetGlobalCallback_SteamRelayNetworkStatusChanged(
&mut self,
fnCallback: FnSteamRelayNetworkStatusChanged
) -> bool
pub unsafe fn SetGlobalCallback_FakeIPResult(
&mut self,
fnCallback: FnSteamNetworkingFakeIPResult
) -> bool
pub unsafe fn SetGlobalCallback_MessagesSessionRequest(
&mut self,
fnCallback: FnSteamNetworkingMessagesSessionRequest
) -> bool
pub unsafe fn SetGlobalCallback_MessagesSessionFailed(
&mut self,
fnCallback: FnSteamNetworkingMessagesSessionFailed
) -> bool
pub unsafe fn SetConfigValueStruct(
&mut self,
opt: *const SteamNetworkingConfigValue_t,
eScopeType: ESteamNetworkingConfigScope,
scopeObj: isize
) -> bool
pub unsafe fn destruct(&mut self)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ISteamNetworkingUtils
impl !Send for ISteamNetworkingUtils
impl !Sync for ISteamNetworkingUtils
impl Unpin for ISteamNetworkingUtils
impl UnwindSafe for ISteamNetworkingUtils
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