pub struct DataFlowConfig {
pub max_bytes_read: Option<u64>,
pub max_bytes_written: Option<u64>,
pub max_bytes_total: Option<u64>,
}Expand description
Configuration for cumulative data flow limits.
Fields§
§max_bytes_read: Option<u64>Maximum cumulative bytes read per session. None means unlimited.
max_bytes_written: Option<u64>Maximum cumulative bytes written per session. None means unlimited.
max_bytes_total: Option<u64>Maximum cumulative bytes (read + written) per session. None means unlimited.
Trait Implementations§
Source§impl Clone for DataFlowConfig
impl Clone for DataFlowConfig
Source§fn clone(&self) -> DataFlowConfig
fn clone(&self) -> DataFlowConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DataFlowConfig
impl Debug for DataFlowConfig
Source§impl Default for DataFlowConfig
impl Default for DataFlowConfig
Source§fn default() -> DataFlowConfig
fn default() -> DataFlowConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DataFlowConfig
impl RefUnwindSafe for DataFlowConfig
impl Send for DataFlowConfig
impl Sync for DataFlowConfig
impl Unpin for DataFlowConfig
impl UnsafeUnpin for DataFlowConfig
impl UnwindSafe for DataFlowConfig
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