pub struct ContextClientConfig {
pub source_id: String,
pub in_flight: u32,
pub queue_capacity: u32,
pub transit_margin_ms: u64,
pub describe_budget_ms: u64,
pub mapping_version: String,
pub principal_scope: String,
}Expand description
How one client talks to one source.
Fields§
§source_id: StringThe source id the endpoint describes.
in_flight: u32In-flight limit and queue capacity, each 1 to 65,536 (3.12.1).
queue_capacity: u32§transit_margin_ms: u64Subtracted from the remaining budget before it is sent (3.10.2).
describe_budget_ms: u64The budget of the describe exchange at construction.
mapping_version: StringThe principal reference’s mapping version and declared scope (spec 020, 3.6); the reference is the call’s principal handle.
principal_scope: StringTrait Implementations§
Source§impl Clone for ContextClientConfig
impl Clone for ContextClientConfig
Auto Trait Implementations§
impl Freeze for ContextClientConfig
impl RefUnwindSafe for ContextClientConfig
impl Send for ContextClientConfig
impl Sync for ContextClientConfig
impl Unpin for ContextClientConfig
impl UnsafeUnpin for ContextClientConfig
impl UnwindSafe for ContextClientConfig
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