pub struct RunOptions<'a> {
pub workdir: &'a Path,
pub services: &'a dyn ServiceProvider,
pub now_rfc3339: &'a dyn Fn() -> String,
}Expand description
Stable options for an executor invocation.
Fields§
§workdir: &'a PathDirectory in which argv executes.
services: &'a dyn ServiceProviderService lifecycle provider.
now_rfc3339: &'a dyn Fn() -> StringInjected RFC3339 clock.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RunOptions<'a>
impl<'a> !Send for RunOptions<'a>
impl<'a> !Sync for RunOptions<'a>
impl<'a> !UnwindSafe for RunOptions<'a>
impl<'a> Freeze for RunOptions<'a>
impl<'a> Unpin for RunOptions<'a>
impl<'a> UnsafeUnpin for RunOptions<'a>
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