Struct lnpbp_bech32::Blob [−][src]
pub struct Blob(_);
Expand description
Type for wrapping Vec#[display(inner)]
Trait Implementations
Mutably borrows from an owned value. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Decode with the given std::io::Read
instance; must either
construct an instance or return implementation-specific error type. Read more
Tries to deserialize byte array into the current type using
StrictDecode::strict_decode
Read more
Encode with the given std::io::Write
instance; must return result
with either amount of bytes encoded – or implementation-specific
error type. Read more
Serializes data as a byte array using StrictEncode::strict_encode
function Read more
Instantiates wrapper type with the inner data
Returns reference to the inner representation for the wrapper type
Returns a mutable reference to the inner representation for the wrapper type Read more
Unwraps the wrapper returning the inner type
Auto Trait Implementations
impl RefUnwindSafe for Blob
impl UnwindSafe for Blob
Blanket Implementations
Calculate the base32 serialized length
Returns data1...
Bech32 representation of a given type
Mutably borrows from an owned value. Read more
Reconstructs type data from data1...
Bech32 string
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
pub fn write_base32<W>(
&self,
writer: &mut W
) -> Result<(), <W as WriteBase32>::Err> where
W: WriteBase32,
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more