pub enum SignBytesVersion {
V1,
V2,
}Expand description
A concrete sign-bytes form.
Variants§
V1
The legacy form (no domain tag, no chain id).
V2
The domain-tagged, chain-bound form introduced by the v2 upgrade.
Implementations§
Trait Implementations§
Source§impl Clone for SignBytesVersion
impl Clone for SignBytesVersion
Source§fn clone(&self) -> SignBytesVersion
fn clone(&self) -> SignBytesVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SignBytesVersion
Source§impl Debug for SignBytesVersion
impl Debug for SignBytesVersion
Source§impl Display for SignBytesVersion
impl Display for SignBytesVersion
impl Eq for SignBytesVersion
Source§impl From<SignBytesVersion> for SignBytesMode
impl From<SignBytesVersion> for SignBytesMode
Source§fn from(v: SignBytesVersion) -> Self
fn from(v: SignBytesVersion) -> Self
Converts to this type from the input type.
Source§impl FromStr for SignBytesVersion
impl FromStr for SignBytesVersion
Source§impl Hash for SignBytesVersion
impl Hash for SignBytesVersion
Source§impl PartialEq for SignBytesVersion
impl PartialEq for SignBytesVersion
impl StructuralPartialEq for SignBytesVersion
Auto Trait Implementations§
impl Freeze for SignBytesVersion
impl RefUnwindSafe for SignBytesVersion
impl Send for SignBytesVersion
impl Sync for SignBytesVersion
impl Unpin for SignBytesVersion
impl UnsafeUnpin for SignBytesVersion
impl UnwindSafe for SignBytesVersion
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