[−][src]Struct ecdsa_fun::Signature
An ECDSA signature
Fields
R_x: Scalar<Public, NonZero>
s: Scalar<S, NonZero>
Implementations
impl<S> Signature<S>
[src]
pub fn to_bytes(&self) -> [u8; 64]
[src]
pub fn as_tuple(&self) -> (&Scalar<Public, NonZero>, &Scalar<S, NonZero>)
[src]
pub fn mark<SigSec: Secrecy>(self) -> Signature<SigSec>
[src]
impl Signature<Public>
[src]
Trait Implementations
impl<S: Clone> Clone for Signature<S>
[src]
impl<S> Debug for Signature<S>
[src]
pub fn fmt(&self, f: &mut Formatter<'_>) -> Result
[src]
Formats the type as hex and any markers on the type.
impl<'de, S: Secrecy> Deserialize<'de> for Signature<S>
[src]
pub fn deserialize<Deser: Deserializer<'de>>(
deserializer: Deser
) -> Result<Signature<S>, Deser::Error>
[src]
deserializer: Deser
) -> Result<Signature<S>, Deser::Error>
impl<S> Display for Signature<S>
[src]
impl From<Signature<Public>> for Signature
[src]
impl From<Signature> for Signature
[src]
impl<S: Secrecy> FromStr for Signature<S>
[src]
type Err = HexError
The associated error which can be returned from parsing.
pub fn from_str(hex: &str) -> Result<Signature<S>, HexError>
[src]
Parses the string as hex and interprets tries to convert the resulting byte array into the desired value.
impl<S: PartialEq> PartialEq<Signature<S>> for Signature<S>
[src]
pub fn eq(&self, other: &Signature<S>) -> bool
[src]
pub fn ne(&self, other: &Signature<S>) -> bool
[src]
impl<S> Serialize for Signature<S>
[src]
impl<S> StructuralPartialEq for Signature<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for Signature<S> where
S: RefUnwindSafe,
[src]
S: RefUnwindSafe,
impl<S> Send for Signature<S> where
S: Send,
[src]
S: Send,
impl<S> Sync for Signature<S> where
S: Sync,
[src]
S: Sync,
impl<S> Unpin for Signature<S> where
S: Unpin,
[src]
S: Unpin,
impl<S> UnwindSafe for Signature<S> where
S: UnwindSafe,
[src]
S: UnwindSafe,
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Mark for T
[src]
#[must_use]pub fn mark<M>(self) -> <M as ChangeMark<T>>::Out where
M: ChangeMark<T>,
[src]
M: ChangeMark<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.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,