pub struct SignatureBones { /* private fields */ }
Expand description
A trimmed-down signature, without any comments section, with binary serialization only
Implementations§
Source§impl SignatureBones
impl SignatureBones
Sourcepub fn is_prehashed(&self) -> bool
pub fn is_prehashed(&self) -> bool
Returns true
if the signed data was pre-hashed.
Sourcepub fn from_bytes(bytes: &[u8]) -> Result<SignatureBones>
pub fn from_bytes(bytes: &[u8]) -> Result<SignatureBones>
Create a new SignatureBones
from a &u8.
Trait Implementations§
Source§impl Clone for SignatureBones
impl Clone for SignatureBones
Source§fn clone(&self) -> SignatureBones
fn clone(&self) -> SignatureBones
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<SignatureBones> for SignatureBox
impl From<SignatureBones> for SignatureBox
Source§fn from(signature: SignatureBones) -> SignatureBox
fn from(signature: SignatureBones) -> SignatureBox
Converts to this type from the input type.
Source§impl From<SignatureBox> for SignatureBones
impl From<SignatureBox> for SignatureBones
Source§fn from(signature: SignatureBox) -> SignatureBones
fn from(signature: SignatureBox) -> SignatureBones
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SignatureBones
impl RefUnwindSafe for SignatureBones
impl Send for SignatureBones
impl Sync for SignatureBones
impl Unpin for SignatureBones
impl UnwindSafe for SignatureBones
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