pub struct HostClientConfig<'c> {
pub seq_kind: VarSeqKind,
pub err_uri_path: &'c str,
pub outgoing_depth: usize,
pub subscriber_timeout_if_full: Duration,
}
Expand description
HostClient configuration
Fields§
§seq_kind: VarSeqKind
The sequence kind to use
err_uri_path: &'c str
The URI path to use for error messages
outgoing_depth: usize
The depth of the outgoing queue
subscriber_timeout_if_full: Duration
Timeout to use before dropping a message if a subscribe channel is full.
Does not apply to subscribe_multi channels.
Auto Trait Implementations§
impl<'c> Freeze for HostClientConfig<'c>
impl<'c> RefUnwindSafe for HostClientConfig<'c>
impl<'c> Send for HostClientConfig<'c>
impl<'c> Sync for HostClientConfig<'c>
impl<'c> Unpin for HostClientConfig<'c>
impl<'c> UnwindSafe for HostClientConfig<'c>
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