pub struct ObjectStreamConfig {
pub max_objects_per_stream: usize,
pub compression_level: u32,
}Fields§
§max_objects_per_stream: usize§compression_level: u32Trait Implementations§
Source§impl Clone for ObjectStreamConfig
impl Clone for ObjectStreamConfig
Source§fn clone(&self) -> ObjectStreamConfig
fn clone(&self) -> ObjectStreamConfig
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 ObjectStreamConfig
impl Debug for ObjectStreamConfig
Source§impl Default for ObjectStreamConfig
impl Default for ObjectStreamConfig
Source§fn default() -> ObjectStreamConfig
fn default() -> ObjectStreamConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ObjectStreamConfig
impl RefUnwindSafe for ObjectStreamConfig
impl Send for ObjectStreamConfig
impl Sync for ObjectStreamConfig
impl Unpin for ObjectStreamConfig
impl UnwindSafe for ObjectStreamConfig
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