pub struct ClientKeepAlive {
pub lost_ms: i32,
pub tcp_interval_ms: i32,
pub udp_interval_ms: i32,
pub udp_rtx_ms: i32,
pub udp_connect_rtx_ms: i32,
pub udp_timeout_ms: i32,
}Fields§
§lost_ms: i32§tcp_interval_ms: i32§udp_interval_ms: i32§udp_rtx_ms: i32§udp_connect_rtx_ms: i32§udp_timeout_ms: i32Implementations§
Source§impl ClientKeepAlive
impl ClientKeepAlive
pub fn to_ffi(&self) -> ClientKeepAlive
Trait Implementations§
Source§impl Clone for ClientKeepAlive
impl Clone for ClientKeepAlive
Source§fn clone(&self) -> ClientKeepAlive
fn clone(&self) -> ClientKeepAlive
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 Debug for ClientKeepAlive
impl Debug for ClientKeepAlive
Source§impl Default for ClientKeepAlive
impl Default for ClientKeepAlive
Source§fn default() -> ClientKeepAlive
fn default() -> ClientKeepAlive
Returns the “default value” for a type. Read more
Source§impl From<ClientKeepAlive> for ClientKeepAlive
impl From<ClientKeepAlive> for ClientKeepAlive
Source§fn from(c: ClientKeepAlive) -> Self
fn from(c: ClientKeepAlive) -> Self
Converts to this type from the input type.
impl Copy for ClientKeepAlive
Auto Trait Implementations§
impl Freeze for ClientKeepAlive
impl RefUnwindSafe for ClientKeepAlive
impl Send for ClientKeepAlive
impl Sync for ClientKeepAlive
impl Unpin for ClientKeepAlive
impl UnwindSafe for ClientKeepAlive
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