pub struct AbsolutePathBufGuard;Expand description
Ensure this guard is held while deserializing AbsolutePathBuf values to
provide a base path for resolving relative paths. Because this relies on
thread-local storage, the deserialization must be single-threaded and
occur on the same thread that created the guard.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AbsolutePathBufGuard
impl RefUnwindSafe for AbsolutePathBufGuard
impl Send for AbsolutePathBufGuard
impl Sync for AbsolutePathBufGuard
impl Unpin for AbsolutePathBufGuard
impl UnsafeUnpin for AbsolutePathBufGuard
impl UnwindSafe for AbsolutePathBufGuard
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