pub struct GraphDriveResult { /* private fields */ }Expand description
Complete result of one bounded drive call.
Implementations§
Source§impl GraphDriveResult
impl GraphDriveResult
Sourcepub const fn outcome(&self) -> &GraphDriveOutcome
pub const fn outcome(&self) -> &GraphDriveOutcome
Returns why the driver stopped or handed execution off.
Sourcepub const fn report(&self) -> GraphDriveReport
pub const fn report(&self) -> GraphDriveReport
Returns replay, execution, renewal, and retry counters.
Sourcepub fn into_parts(self) -> (GraphDriveOutcome, GraphDriveReport)
pub fn into_parts(self) -> (GraphDriveOutcome, GraphDriveReport)
Consumes the result into its outcome and report.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for GraphDriveResult
impl !UnwindSafe for GraphDriveResult
impl Forget for GraphDriveResult
impl Freeze for GraphDriveResult
impl Move for GraphDriveResult
impl Send for GraphDriveResult
impl Sync for GraphDriveResult
impl Unpin for GraphDriveResult
impl UnsafeUnpin for GraphDriveResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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