pub enum ScopedRuntimeDirectory {
Global(RuntimeDirectory<Global>),
Local(RuntimeDirectory<Local>),
}Variants§
Global(RuntimeDirectory<Global>)
Local(RuntimeDirectory<Local>)
Trait Implementations§
Source§impl<T: DaemonScope> From<RuntimeDirectory<T>> for ScopedRuntimeDirectory
impl<T: DaemonScope> From<RuntimeDirectory<T>> for ScopedRuntimeDirectory
Source§fn from(rundir: RuntimeDirectory<T>) -> Self
fn from(rundir: RuntimeDirectory<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScopedRuntimeDirectory
impl !RefUnwindSafe for ScopedRuntimeDirectory
impl !Send for ScopedRuntimeDirectory
impl !Sync for ScopedRuntimeDirectory
impl Unpin for ScopedRuntimeDirectory
impl UnsafeUnpin for ScopedRuntimeDirectory
impl !UnwindSafe for ScopedRuntimeDirectory
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