pub enum SpanBatchError {
TooBigSpanBatchSize,
BitfieldTooLong,
EmptySpanBatch,
MissingL1Origin,
Decoding(SpanDecodingError),
}
Expand description
Span Batch Errors
Variants§
TooBigSpanBatchSize
The span batch is too big
BitfieldTooLong
The bit field is too long
EmptySpanBatch
Empty Span Batch
MissingL1Origin
Missing L1 origin
Decoding(SpanDecodingError)
Decoding errors
Trait Implementations§
Source§impl Clone for SpanBatchError
impl Clone for SpanBatchError
Source§fn clone(&self) -> SpanBatchError
fn clone(&self) -> SpanBatchError
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 SpanBatchError
impl Debug for SpanBatchError
Source§impl Display for SpanBatchError
impl Display for SpanBatchError
Source§impl Error for SpanBatchError
impl Error for SpanBatchError
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<SpanBatchError> for BatchDecodingError
impl From<SpanBatchError> for BatchDecodingError
Source§fn from(err: SpanBatchError) -> Self
fn from(err: SpanBatchError) -> Self
Converts to this type from the input type.
Source§impl From<SpanDecodingError> for SpanBatchError
impl From<SpanDecodingError> for SpanBatchError
Source§fn from(err: SpanDecodingError) -> Self
fn from(err: SpanDecodingError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SpanBatchError
impl PartialEq for SpanBatchError
impl Eq for SpanBatchError
impl StructuralPartialEq for SpanBatchError
Auto Trait Implementations§
impl Freeze for SpanBatchError
impl RefUnwindSafe for SpanBatchError
impl Send for SpanBatchError
impl Sync for SpanBatchError
impl Unpin for SpanBatchError
impl UnwindSafe for SpanBatchError
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§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
)