Struct chain_network::data::p2p::NodeKeyPair
source · pub struct NodeKeyPair(KeyPair<Ed25519>);
Expand description
The key pair used to authenticate a network node, including the secret key.
Tuple Fields§
§0: KeyPair<Ed25519>
Implementations§
source§impl NodeKeyPair
impl NodeKeyPair
Trait Implementations§
source§impl Clone for NodeKeyPair
impl Clone for NodeKeyPair
source§fn clone(&self) -> NodeKeyPair
fn clone(&self) -> NodeKeyPair
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 moresource§impl Debug for NodeKeyPair
impl Debug for NodeKeyPair
Auto Trait Implementations§
impl RefUnwindSafe for NodeKeyPair
impl Send for NodeKeyPair
impl Sync for NodeKeyPair
impl Unpin for NodeKeyPair
impl UnwindSafe for NodeKeyPair
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
§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