pub enum Remedy {
Run {
cmd: String,
},
Check {
what: String,
},
Reconnect {
id: ConnectionId,
},
ElevatePrivileges,
None,
}Expand description
What the user can do about this finding.
Variants§
Run
A specific command to try.
Check
A physical/environmental thing to verify.
Reconnect
Ask the connection manager to reconnect this connection.
Fields
§
id: ConnectionIdElevatePrivileges
The operation requires more privilege than we have.
None
No remedy suggested.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Remedy
impl<'de> Deserialize<'de> for Remedy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Remedy
impl RefUnwindSafe for Remedy
impl Send for Remedy
impl Sync for Remedy
impl Unpin for Remedy
impl UnsafeUnpin for Remedy
impl UnwindSafe for Remedy
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