[−][src]Enum ssh_agent::proto::private_key::PrivateKey
Variants
Dss(DssPrivateKey)Ed25519(Ed25519PrivateKey)Rsa(RsaPrivateKey)EcDsa(EcDsaPrivateKey)Trait Implementations
impl KeyTypeEnum for PrivateKey[src]
impl Clone for PrivateKey[src]
fn clone(&self) -> PrivateKey[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl From<PrivateKey> for PublicKey[src]
fn from(key: PrivateKey) -> Self[src]
impl<'_> From<&'_ PrivateKey> for PublicKey[src]
fn from(key: &PrivateKey) -> Self[src]
impl Eq for PrivateKey[src]
impl PartialEq<PrivateKey> for PrivateKey[src]
fn eq(&self, other: &PrivateKey) -> bool[src]
fn ne(&self, other: &PrivateKey) -> bool[src]
impl Debug for PrivateKey[src]
impl Hash for PrivateKey[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Serialize for PrivateKey[src]
impl<'de> Deserialize<'de> for PrivateKey[src]
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> Result<PrivateKey, D::Error>[src]
deserializer: D
) -> Result<PrivateKey, D::Error>
Auto Trait Implementations
impl Send for PrivateKey
impl Sync for PrivateKey
Blanket Implementations
impl<'a, T> Blob for T where
T: Deserialize<'a> + Serialize, [src]
T: Deserialize<'a> + Serialize,
fn to_blob(&Self) -> Result<Vec<u8>, ProtoError>[src]
fn from_blob(&[u8]) -> Result<T, ProtoError>[src]
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,