#[non_exhaustive]pub struct Recovery {
pub requested_from: u64,
pub resumed_at: u64,
pub outcome: RecoveryOutcome,
}Expand description
Where a recovered flow actually resumed, relative to where it was asked to.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.requested_from: u64The point the client asked to resume from.
resumed_at: u64The point the server actually resumed from.
outcome: RecoveryOutcomeWhat the difference between the two means.
Implementations§
Trait Implementations§
impl Copy for Recovery
impl Eq for Recovery
impl StructuralPartialEq for Recovery
Auto Trait Implementations§
impl Freeze for Recovery
impl RefUnwindSafe for Recovery
impl Send for Recovery
impl Sync for Recovery
impl Unpin for Recovery
impl UnsafeUnpin for Recovery
impl UnwindSafe for Recovery
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