pub struct RpcSettings {
pub idle_timeout_ms: u32,
pub ping_interval_ms: u32,
}
Expand description
RPC settings of Web Client received from Media Server.
Fields§
§idle_timeout_ms: u32
Timeout of considering Web Client as lost by Media Server when it
doesn’t receive any ClientMsg::Pong
s.
Unit: millisecond.
ping_interval_ms: u32
Interval that Media Server sends ServerMsg::Ping
s with.
Unit: millisecond.
Trait Implementations§
Source§impl Clone for RpcSettings
impl Clone for RpcSettings
Source§fn clone(&self) -> RpcSettings
fn clone(&self) -> RpcSettings
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 RpcSettings
impl Debug for RpcSettings
Source§impl<'de> Deserialize<'de> for RpcSettings
impl<'de> Deserialize<'de> for RpcSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RpcSettings
impl PartialEq for RpcSettings
Source§impl Serialize for RpcSettings
impl Serialize for RpcSettings
impl Copy for RpcSettings
impl Eq for RpcSettings
impl StructuralPartialEq for RpcSettings
Auto Trait Implementations§
impl Freeze for RpcSettings
impl RefUnwindSafe for RpcSettings
impl Send for RpcSettings
impl Sync for RpcSettings
impl Unpin for RpcSettings
impl UnwindSafe for RpcSettings
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