Struct bitcoin::script::PushBytesError
source · pub struct PushBytesError { /* private fields */ }
Available on neither 16-bit nor 32-bit.
Expand description
Error returned on attempt to create too large PushBytes
.
Trait Implementations§
source§impl Clone for PushBytesError
impl Clone for PushBytesError
source§fn clone(&self) -> PushBytesError
fn clone(&self) -> PushBytesError
Returns a copy 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 PushBytesError
impl Debug for PushBytesError
source§impl Display for PushBytesError
impl Display for PushBytesError
source§impl Error for PushBytesError
Available on crate feature std
only.
impl Error for PushBytesError
Available on crate feature
std
only.source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 PushBytesError
impl PartialEq for PushBytesError
source§fn eq(&self, other: &PushBytesError) -> bool
fn eq(&self, other: &PushBytesError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PushBytesError
impl Eq for PushBytesError
impl StructuralPartialEq for PushBytesError
Auto Trait Implementations§
impl Freeze for PushBytesError
impl RefUnwindSafe for PushBytesError
impl Send for PushBytesError
impl Sync for PushBytesError
impl Unpin for PushBytesError
impl UnwindSafe for PushBytesError
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)