pub struct SessionLockBusy {
pub pid: u32,
pub hostname: String,
pub started_at_unix: u64,
pub session_dir: PathBuf,
}Expand description
Error type carried inside [std::io::Error::other] when
SessionLock::acquire refuses because another live process
holds the lock.
Fields§
§pid: u32§hostname: String§started_at_unix: u64§session_dir: PathBufTrait Implementations§
Source§impl Clone for SessionLockBusy
impl Clone for SessionLockBusy
Source§impl Debug for SessionLockBusy
impl Debug for SessionLockBusy
Source§impl Display for SessionLockBusy
impl Display for SessionLockBusy
Source§impl Error for SessionLockBusy
impl Error for SessionLockBusy
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 SessionLockBusy
impl RefUnwindSafe for SessionLockBusy
impl Send for SessionLockBusy
impl Sync for SessionLockBusy
impl Unpin for SessionLockBusy
impl UnsafeUnpin for SessionLockBusy
impl UnwindSafe for SessionLockBusy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.