pub type NetworkKeyPair = Ed25519KeyPair;
Aliased Type§
struct NetworkKeyPair { /* private fields */ }
Trait Implementations
§impl<'de> Deserialize<'de> for Ed25519KeyPair
impl<'de> Deserialize<'de> for Ed25519KeyPair
§fn deserialize<D>(
deserializer: D,
) -> Result<Ed25519KeyPair, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Ed25519KeyPair, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<SigningKey> for Ed25519KeyPair
impl From<SigningKey> for Ed25519KeyPair
§fn from(kp: SigningKey) -> Ed25519KeyPair
fn from(kp: SigningKey) -> Ed25519KeyPair
Converts to this type from the input type.
§impl KeyPair for Ed25519KeyPair
impl KeyPair for Ed25519KeyPair
§impl Serialize for Ed25519KeyPair
impl Serialize for Ed25519KeyPair
§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl ToFromBytes for Ed25519KeyPair
The bytes form of the keypair always only contain the private key bytes
impl ToFromBytes for Ed25519KeyPair
The bytes form of the keypair always only contain the private key bytes