pub enum HistorySelectorV1 {
ExactCut {
cut_id: RootCutId,
},
AtOrBeforeCommitTime {
unix_millis: u64,
},
}Expand description
Canonical historical selector. A bare per-shard generation is not valid.
Variants§
Trait Implementations§
Source§impl Clone for HistorySelectorV1
impl Clone for HistorySelectorV1
Source§impl Debug for HistorySelectorV1
impl Debug for HistorySelectorV1
Source§impl<'de> Deserialize<'de> for HistorySelectorV1
impl<'de> Deserialize<'de> for HistorySelectorV1
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HistorySelectorV1
Source§impl PartialEq for HistorySelectorV1
impl PartialEq for HistorySelectorV1
Source§impl Serialize for HistorySelectorV1
impl Serialize for HistorySelectorV1
impl StructuralPartialEq for HistorySelectorV1
Auto Trait Implementations§
impl Freeze for HistorySelectorV1
impl RefUnwindSafe for HistorySelectorV1
impl Send for HistorySelectorV1
impl Sync for HistorySelectorV1
impl Unpin for HistorySelectorV1
impl UnsafeUnpin for HistorySelectorV1
impl UnwindSafe for HistorySelectorV1
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