pub struct OpenPolicy {
pub timeouts: Vec<Duration>,
pub negotiation: NegotiationPolicy,
}Expand description
Opening behavior shared by blocking, async, and managed clients.
Fields§
§timeouts: Vec<Duration>Per-attempt receive timeouts used while opening the session.
The client sends an open request for each entry until a valid open reply is received. The list must not be empty, and each timeout must be at least 200 ms.
negotiation: NegotiationPolicyPolicy for server changes to negotiable protocol parameters.
Trait Implementations§
Source§impl Clone for OpenPolicy
impl Clone for OpenPolicy
Source§impl Debug for OpenPolicy
impl Debug for OpenPolicy
Source§impl Default for OpenPolicy
impl Default for OpenPolicy
impl Eq for OpenPolicy
Source§impl PartialEq for OpenPolicy
impl PartialEq for OpenPolicy
impl StructuralPartialEq for OpenPolicy
Auto Trait Implementations§
impl Freeze for OpenPolicy
impl RefUnwindSafe for OpenPolicy
impl Send for OpenPolicy
impl Sync for OpenPolicy
impl Unpin for OpenPolicy
impl UnsafeUnpin for OpenPolicy
impl UnwindSafe for OpenPolicy
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