[][src]Enum monero::util::ringct::RctType

pub enum RctType {
    Null,
    Full,
    Simple,
    Bulletproof,
    Bulletproof2,
}

RingCT types

Variants

Null

Null type

Full

Full type

Simple

Simple type

Bulletproof

First Bulletproof type

Bulletproof2

Bulletproof2 type, used in the current network

Implementations

impl RctType[src]

pub fn is_rct_bp(self) -> bool[src]

Return if the format use one of the bulletproof format

Trait Implementations

impl Clone for RctType[src]

impl Copy for RctType[src]

impl Debug for RctType[src]

impl<D: Decoder> Decodable<D> for RctType[src]

impl<S: Encoder> Encodable<S> for RctType[src]

impl PartialEq<RctType> for RctType[src]

impl StructuralPartialEq for RctType[src]

Auto Trait Implementations

impl RefUnwindSafe for RctType

impl Send for RctType

impl Sync for RctType

impl Unpin for RctType

impl UnwindSafe for RctType

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.