IntoPrivateKey

Trait IntoPrivateKey 

Source
pub trait IntoPrivateKey {
    // Required method
    fn into_private_key(
        self,
    ) -> Result<PrivateKey, Box<dyn Error + Send + Sync + 'static>>;
}

Required Methods§

Source

fn into_private_key( self, ) -> Result<PrivateKey, Box<dyn Error + Send + Sync + 'static>>

Implementations on Foreign Types§

Source§

impl IntoPrivateKey for &str

Source§

fn into_private_key( self, ) -> Result<PrivateKey, Box<dyn Error + Send + Sync + 'static>>

Source§

impl IntoPrivateKey for &String

Source§

fn into_private_key( self, ) -> Result<PrivateKey, Box<dyn Error + Send + Sync + 'static>>

Source§

impl IntoPrivateKey for &Path

Source§

fn into_private_key( self, ) -> Result<PrivateKey, Box<dyn Error + Send + Sync + 'static>>

Source§

impl IntoPrivateKey for &[u8]

Source§

fn into_private_key( self, ) -> Result<PrivateKey, Box<dyn Error + Send + Sync + 'static>>

Source§

impl IntoPrivateKey for String

Source§

fn into_private_key( self, ) -> Result<PrivateKey, Box<dyn Error + Send + Sync + 'static>>

Source§

impl IntoPrivateKey for Vec<u8>

Source§

fn into_private_key( self, ) -> Result<PrivateKey, Box<dyn Error + Send + Sync + 'static>>

Implementors§