pub struct LockTimeout {
pub dir: PathBuf,
}Expand description
Carried by the io::ErrorKind::TimedOut error of DirLock::acquire_within.
Fields§
§dir: PathBufImplementations§
Trait Implementations§
Source§impl Debug for LockTimeout
impl Debug for LockTimeout
Source§impl Display for LockTimeout
impl Display for LockTimeout
Source§impl Error for LockTimeout
impl Error for LockTimeout
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 Forget for LockTimeout
impl Freeze for LockTimeout
impl Move for LockTimeout
impl RefUnwindSafe for LockTimeout
impl Send for LockTimeout
impl Sync for LockTimeout
impl Unpin for LockTimeout
impl UnsafeUnpin for LockTimeout
impl UnwindSafe for LockTimeout
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