pub struct MonitorOptions {
pub pipeline: Option<u32>,
}Expand description
Options controlling a monitor subscription.
By default a monitor runs without flow control (the server streams
updates as they are produced). Set MonitorOptions::pipeline to a
positive queueSize to request PVAccess monitor pipelining: the server
will send at most queueSize updates before waiting for an ACK, and
the client automatically replies with ACK messages as it consumes them.
Fields§
§pipeline: Option<u32>Request monitor pipelining with the given initial queue size.
None (or Some(0)) disables pipelining.
Implementations§
Trait Implementations§
Source§impl Clone for MonitorOptions
impl Clone for MonitorOptions
Source§fn clone(&self) -> MonitorOptions
fn clone(&self) -> MonitorOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MonitorOptions
Source§impl Debug for MonitorOptions
impl Debug for MonitorOptions
Source§impl Default for MonitorOptions
impl Default for MonitorOptions
Source§fn default() -> MonitorOptions
fn default() -> MonitorOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MonitorOptions
impl RefUnwindSafe for MonitorOptions
impl Send for MonitorOptions
impl Sync for MonitorOptions
impl Unpin for MonitorOptions
impl UnsafeUnpin for MonitorOptions
impl UnwindSafe for MonitorOptions
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