pub struct MessageSignerAdapter<S, A> { /* private fields */ }
Implementations§
Source§impl<S, A> MessageSignerAdapter<S, A>
impl<S, A> MessageSignerAdapter<S, A>
Trait Implementations§
Source§impl<S: MessageSigner<A>, A: SignatureAlgorithmType, B: SignatureAlgorithmType> MessageSigner<B> for MessageSignerAdapter<S, A>
impl<S: MessageSigner<A>, A: SignatureAlgorithmType, B: SignatureAlgorithmType> MessageSigner<B> for MessageSignerAdapter<S, A>
async fn sign( self, algorithm: B::Instance, message: &[u8], ) -> Result<Vec<u8>, MessageSignatureError>
async fn sign_multi( self, algorithm: <B as SignatureAlgorithmType>::Instance, messages: &[Vec<u8>], ) -> Result<Vec<u8>, MessageSignatureError>
Auto Trait Implementations§
impl<S, A> Freeze for MessageSignerAdapter<S, A>where
S: Freeze,
impl<S, A> RefUnwindSafe for MessageSignerAdapter<S, A>where
S: RefUnwindSafe,
A: RefUnwindSafe,
impl<S, A> Send for MessageSignerAdapter<S, A>
impl<S, A> Sync for MessageSignerAdapter<S, A>
impl<S, A> Unpin for MessageSignerAdapter<S, A>
impl<S, A> UnwindSafe for MessageSignerAdapter<S, A>where
S: UnwindSafe,
A: 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
.