pub enum SyncCheckpoint {
Genesis,
EarliestAvailable,
}
Expand description
SyncCheckpoint
JSON schema
{
"type": "string",
"enum": [
"genesis",
"earliest_available"
]
}
Variants§
Trait Implementations§
Source§impl Clone for SyncCheckpoint
impl Clone for SyncCheckpoint
Source§fn clone(&self) -> SyncCheckpoint
fn clone(&self) -> SyncCheckpoint
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 moreSource§impl Debug for SyncCheckpoint
impl Debug for SyncCheckpoint
Source§impl<'de> Deserialize<'de> for SyncCheckpoint
impl<'de> Deserialize<'de> for SyncCheckpoint
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
Source§impl Display for SyncCheckpoint
impl Display for SyncCheckpoint
Source§impl From<&SyncCheckpoint> for SyncCheckpoint
impl From<&SyncCheckpoint> for SyncCheckpoint
Source§fn from(value: &SyncCheckpoint) -> Self
fn from(value: &SyncCheckpoint) -> Self
Converts to this type from the input type.
Source§impl From<SyncCheckpoint> for RpcBlockRequest
impl From<SyncCheckpoint> for RpcBlockRequest
Source§fn from(value: SyncCheckpoint) -> Self
fn from(value: SyncCheckpoint) -> Self
Converts to this type from the input type.
Source§impl From<SyncCheckpoint> for RpcProtocolConfigRequest
impl From<SyncCheckpoint> for RpcProtocolConfigRequest
Source§fn from(value: SyncCheckpoint) -> Self
fn from(value: SyncCheckpoint) -> Self
Converts to this type from the input type.
Source§impl From<SyncCheckpoint> for RpcStateChangesInBlockRequest
impl From<SyncCheckpoint> for RpcStateChangesInBlockRequest
Source§fn from(value: SyncCheckpoint) -> Self
fn from(value: SyncCheckpoint) -> Self
Converts to this type from the input type.
Source§impl FromStr for SyncCheckpoint
impl FromStr for SyncCheckpoint
Source§impl Hash for SyncCheckpoint
impl Hash for SyncCheckpoint
Source§impl Ord for SyncCheckpoint
impl Ord for SyncCheckpoint
Source§fn cmp(&self, other: &SyncCheckpoint) -> Ordering
fn cmp(&self, other: &SyncCheckpoint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SyncCheckpoint
impl PartialEq for SyncCheckpoint
Source§impl PartialOrd for SyncCheckpoint
impl PartialOrd for SyncCheckpoint
Source§impl Serialize for SyncCheckpoint
impl Serialize for SyncCheckpoint
Source§impl TryFrom<&String> for SyncCheckpoint
impl TryFrom<&String> for SyncCheckpoint
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for SyncCheckpoint
impl TryFrom<&str> for SyncCheckpoint
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for SyncCheckpoint
impl TryFrom<String> for SyncCheckpoint
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for SyncCheckpoint
impl Eq for SyncCheckpoint
impl StructuralPartialEq for SyncCheckpoint
Auto Trait Implementations§
impl Freeze for SyncCheckpoint
impl RefUnwindSafe for SyncCheckpoint
impl Send for SyncCheckpoint
impl Sync for SyncCheckpoint
impl Unpin for SyncCheckpoint
impl UnwindSafe for SyncCheckpoint
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> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.