Struct TaggedHash
pub struct TaggedHash(/* private fields */);
Expand description
Implementations§
§impl TaggedHash
impl TaggedHash
pub fn as_digest(&self) -> &Message
pub fn as_digest(&self) -> &Message
Returns the digest to sign.
Trait Implementations§
§impl AsRef<TaggedHash> for TaggedHash
impl AsRef<TaggedHash> for TaggedHash
§fn as_ref(&self) -> &TaggedHash
fn as_ref(&self) -> &TaggedHash
Converts this type into a shared reference of the (usually inferred) input type.
§impl AsRef<TaggedHash> for UnsignedBolt12Invoice
impl AsRef<TaggedHash> for UnsignedBolt12Invoice
§fn as_ref(&self) -> &TaggedHash
fn as_ref(&self) -> &TaggedHash
Converts this type into a shared reference of the (usually inferred) input type.
§impl AsRef<TaggedHash> for UnsignedInvoiceRequest
impl AsRef<TaggedHash> for UnsignedInvoiceRequest
§fn as_ref(&self) -> &TaggedHash
fn as_ref(&self) -> &TaggedHash
Converts this type into a shared reference of the (usually inferred) input type.
§impl Debug for TaggedHash
impl Debug for TaggedHash
§impl PartialEq for TaggedHash
impl PartialEq for TaggedHash
impl StructuralPartialEq for TaggedHash
Auto Trait Implementations§
impl Freeze for TaggedHash
impl Send for TaggedHash
impl Sync for TaggedHash
impl RefUnwindSafe for TaggedHash
impl Unpin for TaggedHash
impl UnwindSafe for TaggedHash
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
§impl<T> AnySync for T
impl<T> AnySync for T
§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> 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 moreSource§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