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: W2A stream to which to output errors
out: W1A stream to which to output operation results
output_statistics: Option<OutputFormat>Auto Trait Implementations§
impl<W1, W2> Freeze for Context<W1, W2>
impl<W1, W2> RefUnwindSafe for Context<W1, W2>where
W2: RefUnwindSafe,
W1: 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
W2: UnwindSafe,
W1: 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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more