pub struct RemoteSignerHandler { /* private fields */ }Expand description
Remote signer that communicates with an external signing service via JSON-RPC
Implementations§
Source§impl RemoteSignerHandler
impl RemoteSignerHandler
Sourcepub const fn is_certificate_watching_enabled(&self) -> bool
pub const fn is_certificate_watching_enabled(&self) -> bool
Returns true if certificate watching is enabled
Sourcepub async fn sign_block_v1(
&self,
payload_hash: PayloadHash,
chain_id: ChainId,
sender_address: Address,
) -> Result<Signature, RemoteSignerError>
pub async fn sign_block_v1( &self, payload_hash: PayloadHash, chain_id: ChainId, sender_address: Address, ) -> Result<Signature, RemoteSignerError>
Signs a block payload hash using the remote signer via JSON-RPC
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RemoteSignerHandler
impl !RefUnwindSafe for RemoteSignerHandler
impl Send for RemoteSignerHandler
impl Sync for RemoteSignerHandler
impl Unpin for RemoteSignerHandler
impl !UnwindSafe for RemoteSignerHandler
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more