pub enum RecoveryTarget {
Latest,
Lsn(Lsn),
Timestamp(u64),
RestorePoint(String),
TransactionId(u64),
}Expand description
Recovery target specification
Variants§
Latest
Recover to latest available state
Lsn(Lsn)
Recover to specific LSN
Timestamp(u64)
Recover to specific timestamp
RestorePoint(String)
Recover to named restore point
TransactionId(u64)
Recover to specific transaction ID
Trait Implementations§
Source§impl Clone for RecoveryTarget
impl Clone for RecoveryTarget
Source§fn clone(&self) -> RecoveryTarget
fn clone(&self) -> RecoveryTarget
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RecoveryTarget
impl RefUnwindSafe for RecoveryTarget
impl Send for RecoveryTarget
impl Sync for RecoveryTarget
impl Unpin for RecoveryTarget
impl UnsafeUnpin for RecoveryTarget
impl UnwindSafe for RecoveryTarget
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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