pub struct SignatoryRpcClient { /* private fields */ }Expand description
A client for the Signatory service.
Implementations§
Trait Implementations§
Source§impl Signatory for SignatoryRpcClient
impl Signatory for SignatoryRpcClient
Source§fn name(&self) -> String
fn name(&self) -> String
The Signatory implementation name. This may be exposed, so being as discrete as possible is
advised.
Source§fn blind_sign<'life0, 'async_trait>(
&'life0 self,
request: Vec<BlindedMessage>,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn blind_sign<'life0, 'async_trait>(
&'life0 self,
request: Vec<BlindedMessage>,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Blind sign a message. Read more
Source§fn verify_proofs<'life0, 'async_trait>(
&'life0 self,
proofs: Vec<Proof>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn verify_proofs<'life0, 'async_trait>(
&'life0 self,
proofs: Vec<Proof>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Verify
Proof meets conditions and is signedSource§fn keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SignatoryKeysets, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SignatoryKeysets, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieve the list of all mint keysets
Source§fn rotate_keyset<'life0, 'async_trait>(
&'life0 self,
args: RotateKeyArguments,
) -> Pin<Box<dyn Future<Output = Result<SignatoryKeySet, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn rotate_keyset<'life0, 'async_trait>(
&'life0 self,
args: RotateKeyArguments,
) -> Pin<Box<dyn Future<Output = Result<SignatoryKeySet, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add current keyset to inactive keysets
Generate new keyset
Auto Trait Implementations§
impl !Freeze for SignatoryRpcClient
impl !RefUnwindSafe for SignatoryRpcClient
impl Send for SignatoryRpcClient
impl Sync for SignatoryRpcClient
impl Unpin for SignatoryRpcClient
impl !UnwindSafe for SignatoryRpcClient
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request