pub enum NonStandardOutput {
Dust,
Script,
}Expand description
Why a TxOut failed the standardness check.
Variants§
Dust
Output value is below the dust limit for its script type.
Script
Script type is not recognised as standard, or the OP_RETURN payload exceeds the 83-byte standardness ceiling.
Trait Implementations§
Source§impl Clone for NonStandardOutput
impl Clone for NonStandardOutput
Source§fn clone(&self) -> NonStandardOutput
fn clone(&self) -> NonStandardOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NonStandardOutput
Source§impl Debug for NonStandardOutput
impl Debug for NonStandardOutput
Source§impl Display for NonStandardOutput
impl Display for NonStandardOutput
impl Eq for NonStandardOutput
Source§impl Error for NonStandardOutput
impl Error for NonStandardOutput
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 PartialEq for NonStandardOutput
impl PartialEq for NonStandardOutput
impl StructuralPartialEq for NonStandardOutput
Auto Trait Implementations§
impl Freeze for NonStandardOutput
impl RefUnwindSafe for NonStandardOutput
impl Send for NonStandardOutput
impl Sync for NonStandardOutput
impl Unpin for NonStandardOutput
impl UnsafeUnpin for NonStandardOutput
impl UnwindSafe for NonStandardOutput
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