pub struct RecoveryOptions {
pub refetch_patch: Option<RefetchPatchFn>,
pub on_recovery_event: Option<OnRecoveryEventFn>,
}Expand description
Options for manifest recovery.
Fields§
§refetch_patch: Option<RefetchPatchFn>Optional function to refetch patch data from external source (e.g., database). Should return patch data or None if not found.
on_recovery_event: Option<OnRecoveryEventFn>Optional callback for logging recovery events.
Trait Implementations§
Source§impl Default for RecoveryOptions
impl Default for RecoveryOptions
Source§fn default() -> RecoveryOptions
fn default() -> RecoveryOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RecoveryOptions
impl !RefUnwindSafe for RecoveryOptions
impl Send for RecoveryOptions
impl Sync for RecoveryOptions
impl Unpin for RecoveryOptions
impl UnsafeUnpin for RecoveryOptions
impl !UnwindSafe for RecoveryOptions
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