pub enum UnsafeBlockSignerUpdateError {
InvalidDataLen(usize),
PointerDecodingError,
InvalidDataPointer(u64),
LengthDecodingError,
InvalidDataLength(u64),
UnsafeBlockSignerAddressDecodingError,
}Expand description
An error for updating the unsafe block signer address on the crate::SystemConfig.
Variants§
InvalidDataLen(usize)
Invalid data length.
PointerDecodingError
Failed to decode the data pointer argument from the update log.
InvalidDataPointer(u64)
The data pointer is invalid.
LengthDecodingError
Failed to decode the data length argument from the update log.
InvalidDataLength(u64)
The data length is invalid.
UnsafeBlockSignerAddressDecodingError
Failed to decode the unsafe block signer address argument from the update log.
Trait Implementations§
Source§impl Clone for UnsafeBlockSignerUpdateError
impl Clone for UnsafeBlockSignerUpdateError
Source§fn clone(&self) -> UnsafeBlockSignerUpdateError
fn clone(&self) -> UnsafeBlockSignerUpdateError
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 UnsafeBlockSignerUpdateError
impl Debug for UnsafeBlockSignerUpdateError
Source§impl Error for UnsafeBlockSignerUpdateError
impl Error for UnsafeBlockSignerUpdateError
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<UnsafeBlockSignerUpdateError> for SystemConfigUpdateError
impl From<UnsafeBlockSignerUpdateError> for SystemConfigUpdateError
Source§fn from(value: UnsafeBlockSignerUpdateError) -> Self
fn from(value: UnsafeBlockSignerUpdateError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UnsafeBlockSignerUpdateError
impl PartialEq for UnsafeBlockSignerUpdateError
Source§fn eq(&self, other: &UnsafeBlockSignerUpdateError) -> bool
fn eq(&self, other: &UnsafeBlockSignerUpdateError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UnsafeBlockSignerUpdateError
impl Eq for UnsafeBlockSignerUpdateError
impl StructuralPartialEq for UnsafeBlockSignerUpdateError
Auto Trait Implementations§
impl Freeze for UnsafeBlockSignerUpdateError
impl RefUnwindSafe for UnsafeBlockSignerUpdateError
impl Send for UnsafeBlockSignerUpdateError
impl Sync for UnsafeBlockSignerUpdateError
impl Unpin for UnsafeBlockSignerUpdateError
impl UnwindSafe for UnsafeBlockSignerUpdateError
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more