pub struct PGPClient { /* private fields */ }Implementations§
Source§impl PGPClient
impl PGPClient
pub fn encrypt(&self, plaintext: &str, output_path: &str) -> Result<()>
pub fn decrypt_stdin( &self, work_dir: &Path, file_path: &str, ) -> Result<SecretString>
pub fn decrypt_with_password( &self, file_path: &str, passwd: SecretString, ) -> Result<SecretString>
Auto Trait Implementations§
impl Freeze for PGPClient
impl RefUnwindSafe for PGPClient
impl Send for PGPClient
impl Sync for PGPClient
impl Unpin for PGPClient
impl UnsafeUnpin for PGPClient
impl UnwindSafe for PGPClient
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