pub struct LocalMessageSigner<S>(pub S);
Tuple Fields§
§0: S
Trait Implementations§
Source§impl<A: SignatureAlgorithmType, P: SignatureProtocol<A>, S: MessageSigner<A>> MessageSigner<WithProtocol<A, P>> for LocalMessageSigner<S>
impl<A: SignatureAlgorithmType, P: SignatureProtocol<A>, S: MessageSigner<A>> MessageSigner<WithProtocol<A, P>> for LocalMessageSigner<S>
async fn sign( self, __arg1: WithProtocol<A::Instance, P>, message: &[u8], ) -> Result<Vec<u8>, MessageSignatureError>
async fn sign_multi( self, __arg1: WithProtocol<A::Instance, P>, messages: &[Vec<u8>], ) -> Result<Vec<u8>, MessageSignatureError>
Auto Trait Implementations§
impl<S> Freeze for LocalMessageSigner<S>where
S: Freeze,
impl<S> RefUnwindSafe for LocalMessageSigner<S>where
S: RefUnwindSafe,
impl<S> Send for LocalMessageSigner<S>where
S: Send,
impl<S> Sync for LocalMessageSigner<S>where
S: Sync,
impl<S> Unpin for LocalMessageSigner<S>where
S: Unpin,
impl<S> UnwindSafe for LocalMessageSigner<S>where
S: UnwindSafe,
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> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T
.