Enum openethereum::secretstore::NodeSecretKey
source · [−]Expand description
This node secret key.
Variants
Plain(Secret)
Stored as plain text in configuration file.
KeyStore(Address)
Stored as account in key store.
Trait Implementations
sourceimpl Clone for NodeSecretKey
impl Clone for NodeSecretKey
sourcefn clone(&self) -> NodeSecretKey
fn clone(&self) -> NodeSecretKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NodeSecretKey
impl Debug for NodeSecretKey
sourceimpl PartialEq<NodeSecretKey> for NodeSecretKey
impl PartialEq<NodeSecretKey> for NodeSecretKey
sourcefn eq(&self, other: &NodeSecretKey) -> bool
fn eq(&self, other: &NodeSecretKey) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodeSecretKey) -> bool
fn ne(&self, other: &NodeSecretKey) -> bool
This method tests for !=
.
impl StructuralPartialEq for NodeSecretKey
Auto Trait Implementations
impl RefUnwindSafe for NodeSecretKey
impl Send for NodeSecretKey
impl Sync for NodeSecretKey
impl Unpin for NodeSecretKey
impl UnwindSafe for NodeSecretKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more