]>
code.octet-stream.net Git - netwatcher/blob - src/error.rs
1 /// Errors in netwatcher or in one of the underlying platform integratinos.
2 #[derive(Debug, Clone, PartialEq, Eq)]
9 GetInterfaceName(String
),
11 UnexpectedWindowsResult(u32),
18 impl std
::fmt
::Display
for Error
{
19 fn fmt(&self, f
: &mut std
::fmt
::Formatter
<'_
>) -> std
::fmt
::Result
{
20 write
!(f
, "{:?}", self)
24 impl std
::error
::Error
for Error
{}