Enum rgb::contract::value::RevealedParseError[][src]

pub enum RevealedParseError {
    NoSeparator,
    NoBlindingFactor,
    ExtraComponent,
    AtomicInt,
    PedersenHex,
}

Error parsing RGB revealed value from string. The string must has form of <value>#<hex_blinding_factor>

Variants

NoSeparator

No # separator between value and blinding factor found while parsing RGB revealed value

NoBlindingFactor

No blinding factor is present within RGB revealed value string representation

ExtraComponent

Extra component within RGB revealed value string representation following value and blinding factor

AtomicInt

Error parsing atomic value representation of RGB revealed value, which has to be an integer

PedersenHex

Error parsing Pedersen commitment inside RGB revealed value string representation. The commitment must be a hex-encoded

Trait Implementations

impl Clone for RevealedParseError[src]

impl Copy for RevealedParseError[src]

impl Debug for RevealedParseError[src]

impl Display for RevealedParseError[src]

impl Eq for RevealedParseError[src]

impl Error for RevealedParseError[src]

impl From<Error> for RevealedParseError[src]

impl From<ParseIntError> for RevealedParseError[src]

impl Hash for RevealedParseError[src]

impl Ord for RevealedParseError[src]

impl PartialEq<RevealedParseError> for RevealedParseError[src]

impl PartialOrd<RevealedParseError> for RevealedParseError[src]

impl StructuralEq for RevealedParseError[src]

impl StructuralPartialEq for RevealedParseError[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> 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> ToString for T where
    T: Display + ?Sized
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,