pub struct FileLocker {
pub timeout: Duration,
/* private fields */
}Expand description
Directory for per-upload *.lock files (shared across processes using the same upload root).
Fields§
§timeout: DurationImplementations§
Source§impl FileLocker
impl FileLocker
Trait Implementations§
Source§impl Clone for FileLocker
impl Clone for FileLocker
Source§fn clone(&self) -> FileLocker
fn clone(&self) -> FileLocker
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileLocker
impl Debug for FileLocker
Auto Trait Implementations§
impl Freeze for FileLocker
impl RefUnwindSafe for FileLocker
impl Send for FileLocker
impl Sync for FileLocker
impl Unpin for FileLocker
impl UnsafeUnpin for FileLocker
impl UnwindSafe for FileLocker
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