Enum SignError
pub enum SignError<E> {
Signing(E),
Verification(Error),
}
Expand description
Error when signing messages.
Variants§
Signing(E)
User-defined error when signing the message.
Verification(Error)
Error when verifying the produced signature using the given pubkey.
Trait Implementations§
impl<E> StructuralPartialEq for SignError<E>
Auto Trait Implementations§
impl<E> Freeze for SignError<E>where
E: Freeze,
impl<E> RefUnwindSafe for SignError<E>where
E: RefUnwindSafe,
impl<E> Send for SignError<E>where
E: Send,
impl<E> Sync for SignError<E>where
E: Sync,
impl<E> Unpin for SignError<E>where
E: Unpin,
impl<E> UnwindSafe for SignError<E>where
E: UnwindSafe,
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> 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