pub struct FakeKeymint { /* private fields */ }Expand description
A fake (insecure) implementation of the Keymint FIDL.
Implementations§
Source§impl FakeKeymint
impl FakeKeymint
Sourcepub async fn run_sealing_keys_service(
&self,
stream: SealingKeysRequestStream,
) -> Result<(), Error>
pub async fn run_sealing_keys_service( &self, stream: SealingKeysRequestStream, ) -> Result<(), Error>
Handles SealingKeysRequestStream to completion.
Sourcepub async fn run_admin_service(
&self,
stream: AdminRequestStream,
) -> Result<(), Error>
pub async fn run_admin_service( &self, stream: AdminRequestStream, ) -> Result<(), Error>
Handles AdminRequestStream to completion.
Trait Implementations§
Source§impl Default for FakeKeymint
impl Default for FakeKeymint
Source§fn default() -> FakeKeymint
fn default() -> FakeKeymint
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for FakeKeymint
impl !RefUnwindSafe for FakeKeymint
impl Send for FakeKeymint
impl Sync for FakeKeymint
impl Unpin for FakeKeymint
impl UnsafeUnpin for FakeKeymint
impl UnwindSafe for FakeKeymint
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