Enum rgb::contract::value::RevealedParseError [−][src]
pub enum RevealedParseError { NoSeparator, NoBlindingFactor, ExtraComponent, AtomicInt, PedersenHex, }
Expand description
Error parsing RGB revealed value from string. The string must has form of
<value>#<hex_blinding_factor>
Variants
Expand description
No #
separator between value and blinding factor found while
parsing RGB revealed value
Expand description
No blinding factor is present within RGB revealed value string representation
Expand description
Extra component within RGB revealed value string representation following value and blinding factor
Expand description
Error parsing atomic value representation of RGB revealed value, which has to be an integer
Expand description
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 Clone for RevealedParseError
[src]fn clone(&self) -> RevealedParseError
[src]
fn clone(&self) -> RevealedParseError
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for RevealedParseError
[src]
impl Debug for RevealedParseError
[src]impl Display for RevealedParseError
[src]
impl Display for RevealedParseError
[src]impl Error for RevealedParseError
[src]
impl Error for RevealedParseError
[src]fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]use the Display impl or to_string()
impl From<ParseIntError> for RevealedParseError
[src]
impl From<ParseIntError> for RevealedParseError
[src]fn from(v: ParseIntError) -> Self
[src]
fn from(v: ParseIntError) -> Self
[src]Performs the conversion.
impl Hash for RevealedParseError
[src]
impl Hash for RevealedParseError
[src]impl Ord for RevealedParseError
[src]
impl Ord for RevealedParseError
[src]impl PartialOrd<RevealedParseError> for RevealedParseError
[src]
impl PartialOrd<RevealedParseError> for RevealedParseError
[src]fn partial_cmp(&self, other: &RevealedParseError) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &RevealedParseError) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for RevealedParseError
[src]
impl Eq for RevealedParseError
[src]
impl StructuralEq for RevealedParseError
[src]
impl StructuralPartialEq for RevealedParseError
[src]
Auto Trait Implementations
impl RefUnwindSafe for RevealedParseError
impl Send for RevealedParseError
impl Sync for RevealedParseError
impl Unpin for RevealedParseError
impl UnwindSafe for RevealedParseError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,