pub struct KeySynchronousProxy { /* private fields */ }
Implementations§
Source§impl KeySynchronousProxy
impl KeySynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
Sourcepub fn wait_for_event(
&self,
deadline: MonotonicInstant,
) -> Result<KeyEvent, Error>
pub fn wait_for_event( &self, deadline: MonotonicInstant, ) -> Result<KeyEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
Sourcepub fn get_key_origin(
&self,
___deadline: MonotonicInstant,
) -> Result<KeyGetKeyOriginResult, Error>
pub fn get_key_origin( &self, ___deadline: MonotonicInstant, ) -> Result<KeyGetKeyOriginResult, Error>
Get the key origin (generated/imported).
Sourcepub fn get_key_provider(
&self,
___deadline: MonotonicInstant,
) -> Result<KeyGetKeyProviderResult, Error>
pub fn get_key_provider( &self, ___deadline: MonotonicInstant, ) -> Result<KeyGetKeyProviderResult, Error>
Get the name for the crypto provider backing up the key.
Trait Implementations§
Source§impl Debug for KeySynchronousProxy
impl Debug for KeySynchronousProxy
Source§impl SynchronousProxy for KeySynchronousProxy
impl SynchronousProxy for KeySynchronousProxy
Source§fn from_channel(inner: Channel) -> Self
fn from_channel(inner: Channel) -> Self
Create a proxy over the given channel.
Source§fn into_channel(self) -> Channel
fn into_channel(self) -> Channel
Convert the proxy back into a channel.
Source§fn as_channel(&self) -> &Channel
fn as_channel(&self) -> &Channel
Get a reference to the proxy’s underlying channel. Read more
Auto Trait Implementations§
impl Freeze for KeySynchronousProxy
impl RefUnwindSafe for KeySynchronousProxy
impl Send for KeySynchronousProxy
impl Sync for KeySynchronousProxy
impl Unpin for KeySynchronousProxy
impl UnwindSafe for KeySynchronousProxy
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