pub struct CryptService { /* private fields */ }Implementations§
Source§impl CryptService
impl CryptService
pub fn new() -> Self
pub fn add_wrapping_key( &self, wrapping_key_id: u128, key: Vec<u8>, ) -> CryptManagementAddWrappingKeyResult
pub fn set_active_key( &self, purpose: KeyPurpose, wrapping_key_id: u128, ) -> CryptManagementSetActiveKeyResult
pub async fn handle_request(&self, stream: Services) -> Result<(), Error>
Auto Trait Implementations§
impl !Freeze for CryptService
impl !RefUnwindSafe for CryptService
impl Send for CryptService
impl Sync for CryptService
impl Unpin for CryptService
impl UnsafeUnpin for CryptService
impl UnwindSafe for CryptService
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