[−][src]Struct minisign::SignatureBones
A trimmed-down signature, without any comments section, with binary serialization only
Implementations
impl SignatureBones
[src]
pub fn is_prehashed(&self) -> bool
[src]
Returns true
if the signed data was pre-hashed.
pub fn from_bytes(bytes: &[u8]) -> Result<SignatureBones>
[src]
Create a new SignatureBones
from a &u8.
pub fn to_bytes(&self) -> Vec<u8>
[src]
Return a SignatureBones
as bytes, for storage.
pub const BYTES: usize
[src]
Size of a minimal signature in bytes
Trait Implementations
impl Clone for SignatureBones
[src]
fn clone(&self) -> SignatureBones
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Into<SignatureBones> for SignatureBox
[src]
fn into(self) -> SignatureBones
[src]
impl Into<SignatureBox> for SignatureBones
[src]
fn into(self) -> SignatureBox
[src]
Auto Trait Implementations
impl RefUnwindSafe for SignatureBones
impl Send for SignatureBones
impl Sync for SignatureBones
impl Unpin for SignatureBones
impl UnwindSafe for SignatureBones
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,