pub struct SetDataSizeLimitsForTestCommand { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security and experimental only.Expand description
For testing.
Implementations§
Source§impl SetDataSizeLimitsForTestCommand
impl SetDataSizeLimitsForTestCommand
pub fn new(max_total_size: u32, max_resource_size: u32) -> Self
Sourcepub fn max_total_size(&self) -> u32
pub fn max_total_size(&self) -> u32
Maximum total buffer size.
Sourcepub fn max_resource_size(&self) -> u32
pub fn max_resource_size(&self) -> u32
Maximum per-resource size.
Trait Implementations§
Source§impl Clone for SetDataSizeLimitsForTestCommand
impl Clone for SetDataSizeLimitsForTestCommand
Source§fn clone(&self) -> SetDataSizeLimitsForTestCommand
fn clone(&self) -> SetDataSizeLimitsForTestCommand
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<'de> Deserialize<'de> for SetDataSizeLimitsForTestCommand
impl<'de> Deserialize<'de> for SetDataSizeLimitsForTestCommand
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SetDataSizeLimitsForTestCommand
impl RefUnwindSafe for SetDataSizeLimitsForTestCommand
impl Send for SetDataSizeLimitsForTestCommand
impl Sync for SetDataSizeLimitsForTestCommand
impl Unpin for SetDataSizeLimitsForTestCommand
impl UnwindSafe for SetDataSizeLimitsForTestCommand
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