pub struct DiscoveryLimits {
pub max_plugins: usize,
pub max_manifest_bytes: u64,
pub max_module_bytes: u64,
}Expand description
Conservative input limits applied before allocating file contents.
Fields§
§max_plugins: usize§max_manifest_bytes: u64§max_module_bytes: u64Trait Implementations§
Source§impl Clone for DiscoveryLimits
impl Clone for DiscoveryLimits
Source§fn clone(&self) -> DiscoveryLimits
fn clone(&self) -> DiscoveryLimits
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 DiscoveryLimits
Source§impl Debug for DiscoveryLimits
impl Debug for DiscoveryLimits
Auto Trait Implementations§
impl Freeze for DiscoveryLimits
impl RefUnwindSafe for DiscoveryLimits
impl Send for DiscoveryLimits
impl Sync for DiscoveryLimits
impl Unpin for DiscoveryLimits
impl UnsafeUnpin for DiscoveryLimits
impl UnwindSafe for DiscoveryLimits
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