pub enum ChainNamespace {
Eip155,
Solana,
Cosmos,
Polkadot,
Bip155,
Other(&'static str),
}Expand description
Common chain namespaces
Variants§
Implementations§
Trait Implementations§
Source§impl CandidType for ChainNamespace
impl CandidType for ChainNamespace
Source§impl Clone for ChainNamespace
impl Clone for ChainNamespace
Source§fn clone(&self) -> ChainNamespace
fn clone(&self) -> ChainNamespace
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChainNamespace
Source§impl Debug for ChainNamespace
impl Debug for ChainNamespace
impl Eq for ChainNamespace
Source§impl From<ChainNamespace> for String
impl From<ChainNamespace> for String
Source§fn from(namespace: ChainNamespace) -> Self
fn from(namespace: ChainNamespace) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChainNamespace
impl PartialEq for ChainNamespace
Source§fn eq(&self, other: &ChainNamespace) -> bool
fn eq(&self, other: &ChainNamespace) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChainNamespace
Auto Trait Implementations§
impl Freeze for ChainNamespace
impl RefUnwindSafe for ChainNamespace
impl Send for ChainNamespace
impl Sync for ChainNamespace
impl Unpin for ChainNamespace
impl UnsafeUnpin for ChainNamespace
impl UnwindSafe for ChainNamespace
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