pub struct TarConfig {
pub max_decompressed_size: u64,
pub max_input_size: u64,
pub allow_multi_entry: bool,
}Fields§
§max_decompressed_size: u64§max_input_size: u64Maximum materialized input size accepted by marshal (DoS cap, R3-L1).
allow_multi_entry: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for TarConfig
impl<'de> Deserialize<'de> for TarConfig
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 TarConfig
impl RefUnwindSafe for TarConfig
impl Send for TarConfig
impl Sync for TarConfig
impl Unpin for TarConfig
impl UnsafeUnpin for TarConfig
impl UnwindSafe for TarConfig
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