pub enum AllowlistLoadError {
Io(PathBuf, Error),
Json(PathBuf, Error),
UnsupportedVersion(u32),
UdpNotSupported {
host: String,
port: u16,
},
}Expand description
Errors surfaced while loading the allowlist from disk.
Variants§
Trait Implementations§
Source§impl Debug for AllowlistLoadError
impl Debug for AllowlistLoadError
Source§impl Display for AllowlistLoadError
impl Display for AllowlistLoadError
Source§impl Error for AllowlistLoadError
impl Error for AllowlistLoadError
1.30.0 · 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<AllowlistLoadError> for AllowlistFlagError
impl From<AllowlistLoadError> for AllowlistFlagError
Source§fn from(source: AllowlistLoadError) -> Self
fn from(source: AllowlistLoadError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AllowlistLoadError
impl !UnwindSafe for AllowlistLoadError
impl Freeze for AllowlistLoadError
impl Send for AllowlistLoadError
impl Sync for AllowlistLoadError
impl Unpin for AllowlistLoadError
impl UnsafeUnpin for AllowlistLoadError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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