pub struct TransportMonitorOptions {
pub capacity: usize,
pub max_buffered_bytes: usize,
}Expand description
Ограничения очереди, в которой копятся результаты перечисления.
Fields§
§capacity: usizeMaximum queued events, in 1..=4096.
max_buffered_bytes: usizeСколько байт результатов может ждать в очереди; не ноль.
Trait Implementations§
Source§impl Clone for TransportMonitorOptions
impl Clone for TransportMonitorOptions
Source§fn clone(&self) -> TransportMonitorOptions
fn clone(&self) -> TransportMonitorOptions
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 TransportMonitorOptions
Source§impl Debug for TransportMonitorOptions
impl Debug for TransportMonitorOptions
Auto Trait Implementations§
impl Freeze for TransportMonitorOptions
impl RefUnwindSafe for TransportMonitorOptions
impl Send for TransportMonitorOptions
impl Sync for TransportMonitorOptions
impl Unpin for TransportMonitorOptions
impl UnsafeUnpin for TransportMonitorOptions
impl UnwindSafe for TransportMonitorOptions
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