pub enum StateUpdateError {
BlockConversion(BlockConversionError),
}Expand description
Errors that can occur while updating the pcapng state.
Variants§
BlockConversion(BlockConversionError)
A state-relevant raw block could not be converted into a typed block.
Trait Implementations§
Source§impl Debug for StateUpdateError
impl Debug for StateUpdateError
Source§impl Display for StateUpdateError
impl Display for StateUpdateError
Source§impl Error for StateUpdateError
impl Error for StateUpdateError
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 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.
Source§impl From<StateUpdateError> for PcapNgError
impl From<StateUpdateError> for PcapNgError
Source§fn from(source: StateUpdateError) -> Self
fn from(source: StateUpdateError) -> Self
Converts to this type from the input type.
Source§impl From<StateUpdateError> for PcapNgParseError
impl From<StateUpdateError> for PcapNgParseError
Source§fn from(source: StateUpdateError) -> Self
fn from(source: StateUpdateError) -> Self
Converts to this type from the input type.
Source§impl From<StateUpdateError> for PcapNgReadError
impl From<StateUpdateError> for PcapNgReadError
Source§fn from(source: StateUpdateError) -> Self
fn from(source: StateUpdateError) -> Self
Converts to this type from the input type.
Source§impl From<StateUpdateError> for PcapNgWriteError
impl From<StateUpdateError> for PcapNgWriteError
Source§fn from(source: StateUpdateError) -> Self
fn from(source: StateUpdateError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StateUpdateError
impl !UnwindSafe for StateUpdateError
impl Forget for StateUpdateError
impl Freeze for StateUpdateError
impl Move for StateUpdateError
impl Send for StateUpdateError
impl Sync for StateUpdateError
impl Unpin for StateUpdateError
impl UnsafeUnpin for StateUpdateError
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