pub struct DaemonPidGuardBlocked {
pub reason: String,
pub matched_pattern: String,
}Expand description
Error returned when a command attempts to kill the daemon process in a self-referential workspace.
Fields§
§reason: StringHuman-readable explanation of why the command was blocked.
matched_pattern: StringThe pattern that triggered the block.
Trait Implementations§
Source§impl Debug for DaemonPidGuardBlocked
impl Debug for DaemonPidGuardBlocked
Source§impl Display for DaemonPidGuardBlocked
impl Display for DaemonPidGuardBlocked
Source§impl Error for DaemonPidGuardBlocked
impl Error for DaemonPidGuardBlocked
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 DaemonPidGuardBlocked
impl RefUnwindSafe for DaemonPidGuardBlocked
impl Send for DaemonPidGuardBlocked
impl Sync for DaemonPidGuardBlocked
impl Unpin for DaemonPidGuardBlocked
impl UnsafeUnpin for DaemonPidGuardBlocked
impl UnwindSafe for DaemonPidGuardBlocked
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