Struct gitoxide_core::repository::commitgraph::verify::Context
source · pub struct Context<W1: Write, W2: Write> {
pub err: W2,
pub out: W1,
pub output_statistics: Option<OutputFormat>,
}
Expand description
A general purpose context for many operations provided here
Fields§
§err: W2
A stream to which to output errors
out: W1
A stream to which to output operation results
output_statistics: Option<OutputFormat>
Auto Trait Implementations§
impl<W1, W2> RefUnwindSafe for Context<W1, W2>where
W1: RefUnwindSafe,
W2: RefUnwindSafe,
impl<W1, W2> Send for Context<W1, W2>
impl<W1, W2> Sync for Context<W1, W2>
impl<W1, W2> Unpin for Context<W1, W2>
impl<W1, W2> UnwindSafe for Context<W1, W2>where
W1: UnwindSafe,
W2: UnwindSafe,
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