pub struct HostConfig {
pub versions: Vec<u16>,
pub max_frame: u32,
pub token: Option<String>,
pub ping_interval: Duration,
pub peer_timeout: Duration,
pub deadline_grace: Duration,
}Expand description
Settings for a HostSession.
Fields§
§versions: Vec<u16>Protocol versions the daemon speaks.
max_frame: u32The largest frame payload the daemon accepts.
token: Option<String>The per-launch token the agent’s hello must carry, if any.
ping_interval: Duration§peer_timeout: Duration§deadline_grace: DurationTrait Implementations§
Source§impl Clone for HostConfig
impl Clone for HostConfig
Source§impl Debug for HostConfig
impl Debug for HostConfig
Source§impl Default for HostConfig
impl Default for HostConfig
Source§fn default() -> HostConfig
fn default() -> HostConfig
Returns the “default value” for a type. Read more
impl Eq for HostConfig
Source§impl PartialEq for HostConfig
impl PartialEq for HostConfig
impl StructuralPartialEq for HostConfig
Auto Trait Implementations§
impl Freeze for HostConfig
impl RefUnwindSafe for HostConfig
impl Send for HostConfig
impl Sync for HostConfig
impl Unpin for HostConfig
impl UnsafeUnpin for HostConfig
impl UnwindSafe for HostConfig
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