[][src]Enum bitcoin_cash_base::Function

pub enum Function {
    Plain,
    Sha1,
    Ripemd160,
    Sha256,
    Hash256,
    Hash160,
    Num2Bin,
    EcdsaSign,
    SchnorrSign,
    ToDataSig,
    UnexpectedSplit,
    Reverse,
}

Variants

Plain
Sha1
Ripemd160
Sha256
Hash256
Hash160
Num2Bin
EcdsaSign
SchnorrSign
ToDataSig
UnexpectedSplit
Reverse

Methods

impl Function[src]

pub fn should_keep_intact(&self) -> bool[src]

Trait Implementations

impl Clone for Function[src]

impl Copy for Function[src]

impl Debug for Function[src]

impl<'de> Deserialize<'de> for Function[src]

impl Eq for Function[src]

impl PartialEq<Function> for Function[src]

impl Serialize for Function[src]

impl StructuralEq for Function[src]

impl StructuralPartialEq for Function[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.