pub enum WinDivertValueError {
Layer(u32),
Event(u8),
Parameter(u32),
Shutdown(u32),
}Expand description
WinDivert error for unexpected values type conversions.
Variants§
Layer(u32)
Error produced for unexpected values in TryFrom<u32> for WinDivertLayer
Event(u8)
Error produced for unexpected values in TryFrom<u8> for WinDivertEvent
Parameter(u32)
Error produced for unexpected values in TryFrom<u32> for WinDivertParameter
Shutdown(u32)
Error produced for unexpected values in TryFrom<u32> for WinDivertShutdownMode
Trait Implementations§
source§impl Debug for WinDivertValueError
impl Debug for WinDivertValueError
source§impl Display for WinDivertValueError
impl Display for WinDivertValueError
source§impl Error for WinDivertValueError
impl Error for WinDivertValueError
1.30.0 · 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()