pub struct ForkConfig {
pub max_clone_count: usize,
pub max_queue_size: usize,
}Fields§
§max_clone_count: usizeMaximum number of clones allowed.
max_queue_size: usizeMaximum queue size before panic.
Trait Implementations§
Source§impl Clone for ForkConfig
impl Clone for ForkConfig
Source§fn clone(&self) -> ForkConfig
fn clone(&self) -> ForkConfig
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 ForkConfig
impl Debug for ForkConfig
Source§impl Default for ForkConfig
impl Default for ForkConfig
impl Copy for ForkConfig
Auto Trait Implementations§
impl Freeze for ForkConfig
impl RefUnwindSafe for ForkConfig
impl Send for ForkConfig
impl Sync for ForkConfig
impl Unpin for ForkConfig
impl UnwindSafe for ForkConfig
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