Enum ClientUpgradePath
pub enum ClientUpgradePath {
UpgradedClientState(u64),
UpgradedClientConsensusState(u64),
}
Expand description
Paths that are specific for client upgrades.
Variants§
Trait Implementations§
§impl Clone for ClientUpgradePath
impl Clone for ClientUpgradePath
§fn clone(&self) -> ClientUpgradePath
fn clone(&self) -> ClientUpgradePath
Returns a copy 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 more§impl Debug for ClientUpgradePath
impl Debug for ClientUpgradePath
§impl Display for ClientUpgradePath
impl Display for ClientUpgradePath
§impl From<ClientUpgradePath> for Path
impl From<ClientUpgradePath> for Path
§fn from(original: ClientUpgradePath) -> Path
fn from(original: ClientUpgradePath) -> Path
Converts to this type from the input type.
§impl Hash for ClientUpgradePath
impl Hash for ClientUpgradePath
§impl Ord for ClientUpgradePath
impl Ord for ClientUpgradePath
§fn cmp(&self, other: &ClientUpgradePath) -> Ordering
fn cmp(&self, other: &ClientUpgradePath) -> 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
§impl PartialEq for ClientUpgradePath
impl PartialEq for ClientUpgradePath
§impl PartialOrd for ClientUpgradePath
impl PartialOrd for ClientUpgradePath
impl Eq for ClientUpgradePath
impl StructuralPartialEq for ClientUpgradePath
Auto Trait Implementations§
impl Freeze for ClientUpgradePath
impl RefUnwindSafe for ClientUpgradePath
impl Send for ClientUpgradePath
impl Sync for ClientUpgradePath
impl Unpin for ClientUpgradePath
impl UnwindSafe for ClientUpgradePath
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request