Struct lightning_invoice::Sha256 [−][src]
pub struct Sha256(pub Hash);
Expand description
SHA-256 hash
Tuple Fields
0: Hash
Trait Implementations
Calculate the base32 serialized length
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
Convert a base32 slice to Self
.
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more
Auto Trait Implementations
impl RefUnwindSafe for Sha256
impl UnwindSafe for Sha256
Blanket Implementations
Mutably borrows from an owned value. Read more