Struct recrypt::api::SchnorrSignature [−]
pub struct SchnorrSignature { /* fields omitted */ }
Implementations
impl SchnorrSignature
impl SchnorrSignature
pub fn new_from_slice(bytes: &[u8]) -> Result<SchnorrSignature, RecryptErr>
pub fn new_from_slice(bytes: &[u8]) -> Result<SchnorrSignature, RecryptErr>
construct $t from byte slice. Input slice must be exactly the correct length for the type.
Returns
Ok($t) or Err($RecryptErr::InputWrongSize]
Trait Implementations
impl Clone for SchnorrSignature
impl Clone for SchnorrSignature
fn clone(&self) -> SchnorrSignature
fn clone(&self) -> SchnorrSignature
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for SchnorrSignature
impl Debug for SchnorrSignature
impl From<SchnorrSignature> for [u8; 64]
impl From<SchnorrSignature> for [u8; 64]
fn from(t: SchnorrSignature) -> Self
fn from(t: SchnorrSignature) -> Self
Performs the conversion.
impl Hash for SchnorrSignature
impl Hash for SchnorrSignature
impl PartialEq<SchnorrSignature> for SchnorrSignature
impl PartialEq<SchnorrSignature> for SchnorrSignature
impl Copy for SchnorrSignature
impl Eq for SchnorrSignature
Auto Trait Implementations
impl RefUnwindSafe for SchnorrSignature
impl Send for SchnorrSignature
impl Sync for SchnorrSignature
impl Unpin for SchnorrSignature
impl UnwindSafe for SchnorrSignature
Blanket Implementations
Mutably borrows from an owned value. Read more