pub struct BlockConversionError {
pub type_: u32,
pub source: Box<BlockContentParseError>,
}Expand description
Errors that can occur while converting a raw block into a typed block.
Fields§
§type_: u32Numeric block type
source: Box<BlockContentParseError>Underlying block content parse error
Trait Implementations§
Source§impl Debug for BlockConversionError
impl Debug for BlockConversionError
Source§impl Display for BlockConversionError
impl Display for BlockConversionError
Source§impl Error for BlockConversionError
impl Error for BlockConversionError
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<BlockConversionError> for PcapNgParseError
impl From<BlockConversionError> for PcapNgParseError
Source§fn from(source: BlockConversionError) -> Self
fn from(source: BlockConversionError) -> Self
Converts to this type from the input type.
Source§impl From<BlockConversionError> for PcapNgReadError
impl From<BlockConversionError> for PcapNgReadError
Source§fn from(source: BlockConversionError) -> Self
fn from(source: BlockConversionError) -> Self
Converts to this type from the input type.
Source§impl From<BlockConversionError> for StateUpdateError
impl From<BlockConversionError> for StateUpdateError
Source§fn from(source: BlockConversionError) -> Self
fn from(source: BlockConversionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BlockConversionError
impl !UnwindSafe for BlockConversionError
impl Forget for BlockConversionError
impl Freeze for BlockConversionError
impl Move for BlockConversionError
impl Send for BlockConversionError
impl Sync for BlockConversionError
impl Unpin for BlockConversionError
impl UnsafeUnpin for BlockConversionError
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