pub struct SignerService { /* private fields */ }Expand description
Signer gRPC service.
Implementations§
Trait Implementations§
Source§impl Signer for SignerService
impl Signer for SignerService
Source§fn sign_digest<'life0, 'async_trait>(
&'life0 self,
request: Request<SignDigestRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Signature>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sign_digest<'life0, 'async_trait>(
&'life0 self,
request: Request<SignDigestRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Signature>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sign a Keccak256 message digest (for e.g. EIP-712)
https://eips.ethereum.org/EIPS/eip-712
Source§fn sign_eip155<'life0, 'async_trait>(
&'life0 self,
request: Request<SignEip155Request>,
) -> Pin<Box<dyn Future<Output = Result<Response<Signature>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sign_eip155<'life0, 'async_trait>(
&'life0 self,
request: Request<SignEip155Request>,
) -> Pin<Box<dyn Future<Output = Result<Response<Signature>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Sign a Keccak256 message digest according to EIP-155 conventions.
https://eips.ethereum.org/EIPS/eip-155
Auto Trait Implementations§
impl Freeze for SignerService
impl !RefUnwindSafe for SignerService
impl Send for SignerService
impl Sync for SignerService
impl Unpin for SignerService
impl !UnwindSafe for SignerService
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