pub struct MethodParseError(pub String);
Expand description
wrong deterministic bitcoin commitment closing method id ‘{0}’.
Tuple Fields§
§0: String
Trait Implementations§
Source§impl Clone for MethodParseError
impl Clone for MethodParseError
Source§fn clone(&self) -> MethodParseError
fn clone(&self) -> MethodParseError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MethodParseError
impl Debug for MethodParseError
Source§impl Display for MethodParseError
impl Display for MethodParseError
Source§impl Error for MethodParseError
impl Error for MethodParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<MethodParseError> for String
impl From<MethodParseError> for String
Source§fn from(err: MethodParseError) -> Self
fn from(err: MethodParseError) -> Self
Converts to this type from the input type.
Source§impl From<String> for MethodParseError
impl From<String> for MethodParseError
Source§impl PartialEq for MethodParseError
impl PartialEq for MethodParseError
impl Eq for MethodParseError
impl StructuralPartialEq for MethodParseError
Auto Trait Implementations§
impl Freeze for MethodParseError
impl RefUnwindSafe for MethodParseError
impl Send for MethodParseError
impl Sync for MethodParseError
impl Unpin for MethodParseError
impl UnwindSafe for MethodParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.