pub struct GuardSignerService { /* private fields */ }Implementations§
Source§impl GuardSignerService
impl GuardSignerService
pub fn new(ctx: ServiceContext) -> Self
Source§impl GuardSignerService
impl GuardSignerService
pub async fn get_status( &self, req: GetGuardSignerStatusRequest, ) -> Result<Option<GuardSignerStatus>>
pub async fn create_wallet( &self, req: CreateGuardSignerWalletRequest, ) -> Result<CreateGuardSignerWalletResult>
pub async fn sign_protected_action( &self, req: SignProtectedActionRequest, ) -> Result<Option<GuardApproval>>
pub async fn batch_sign_protected_actions( &self, req: BatchSignProtectedActionsRequest, ) -> Result<BatchSignProtectedActionsResult>
pub async fn rotate_wallet( &self, req: RotateGuardSignerWalletRequest, ) -> Result<RotateGuardSignerWalletResult>
pub async fn export_wallet( &self, req: ExportGuardSignerWalletRequest, ) -> Result<ExportGuardSignerWalletResult>
Trait Implementations§
Source§impl Clone for GuardSignerService
impl Clone for GuardSignerService
Source§fn clone(&self) -> GuardSignerService
fn clone(&self) -> GuardSignerService
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Freeze for GuardSignerService
impl !RefUnwindSafe for GuardSignerService
impl !UnwindSafe for GuardSignerService
impl Send for GuardSignerService
impl Sync for GuardSignerService
impl Unpin for GuardSignerService
impl UnsafeUnpin for GuardSignerService
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