#[non_exhaustive]pub enum Encoding {
Base16,
Base32,
Base58,
Base64,
Multibase(Base),
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Base16
Base32
Available on crate feature
multibase
only.Base58
Available on crate feature
multibase
only.Base64
Available on crate feature
multibase
only.Multibase(Base)
Available on crate feature
multibase
only.Implementations§
Trait Implementations§
source§impl MultiDisplay<Encoding> for PublicKey
Available on crate feature ed25519
only.
impl MultiDisplay<Encoding> for PublicKey
Available on crate feature
ed25519
only.source§impl MultiDisplay<Encoding> for PublicKey
Available on crate feature x25519
only.
impl MultiDisplay<Encoding> for PublicKey
Available on crate feature
x25519
only.source§impl MultiDisplay<Encoding> for PublicKey
Available on crate feature ed25519
only.
impl MultiDisplay<Encoding> for PublicKey
Available on crate feature
ed25519
only.source§impl MultiDisplay<Encoding> for PublicKey
Available on crate feature x25519
only.
impl MultiDisplay<Encoding> for PublicKey
Available on crate feature
x25519
only.source§impl MultiDisplay<Encoding> for Signature
Available on crate feature ed25519
only.
impl MultiDisplay<Encoding> for Signature
Available on crate feature
ed25519
only.source§impl MultiDisplay<Encoding> for Signature
Available on crate feature ed25519
only.
impl MultiDisplay<Encoding> for Signature
Available on crate feature
ed25519
only.source§impl PartialEq for Encoding
impl PartialEq for Encoding
impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnwindSafe for Encoding
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