Struct gitoxide_core::pack::verify::Context   
source · pub struct Context<'a, W1: Write, W2: Write> {
    pub output_statistics: Option<OutputFormat>,
    pub out: W1,
    pub err: W2,
    pub thread_limit: Option<usize>,
    pub mode: Mode,
    pub algorithm: Algorithm,
    pub should_interrupt: &'a AtomicBool,
    pub object_hash: Kind,
}Expand description
A general purpose context for many operations provided here
Fields
output_statistics: Option<OutputFormat>If set, provide statistics to out in the given format
out: W1A stream to which to output operation results
err: W2A stream to which to errors
thread_limit: Option<usize>If set, don’t use more than this amount of threads. Otherwise, usually use as many threads as there are logical cores. A value of 0 is interpreted as no-limit
mode: Modealgorithm: Algorithmshould_interrupt: &'a AtomicBoolobject_hash: KindAuto Trait Implementations
impl<'a, W1, W2> RefUnwindSafe for Context<'a, W1, W2>where
    W1: RefUnwindSafe,
    W2: RefUnwindSafe,
impl<'a, W1, W2> Send for Context<'a, W1, W2>where
    W1: Send,
    W2: Send,
impl<'a, W1, W2> Sync for Context<'a, W1, W2>where
    W1: Sync,
    W2: Sync,
impl<'a, W1, W2> Unpin for Context<'a, W1, W2>where
    W1: Unpin,
    W2: Unpin,
impl<'a, W1, W2> UnwindSafe for Context<'a, W1, W2>where
    W1: UnwindSafe,
    W2: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more