pub enum ReloadConfigError {
UnknownConfig(String),
UnsupportedConfig(String),
}
Expand description
Error when reloading configs. Config reload happens when a config, like
crate::config::SelectorConfig
specifics the reload
field and the user
clicks on the created reload button.
Variants§
UnknownConfig(String)
The config call
value given from Wireshark is not found in the configs
provided. Wireshark makes separate invocations to get the initial list
of interfaces, and when the user subsequently hits reload on a config.
Therefore, implementations should make sure that the configs used in
ConfigStep
and ReloadConfigStep
are consistent.
UnsupportedConfig(String)
The config given by Wireshark is found, but it is not a
SelectorConfig
. This configuration is not expected to be invoked by
Wireshark, as the SelectorConfig::reload
field only exists for the
appropriate types.
Trait Implementations§
Source§impl Debug for ReloadConfigError
impl Debug for ReloadConfigError
Source§impl Display for ReloadConfigError
impl Display for ReloadConfigError
Source§impl Error for ReloadConfigError
impl Error for ReloadConfigError
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()
Auto Trait Implementations§
impl Freeze for ReloadConfigError
impl RefUnwindSafe for ReloadConfigError
impl Send for ReloadConfigError
impl Sync for ReloadConfigError
impl Unpin for ReloadConfigError
impl UnwindSafe for ReloadConfigError
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