pub struct EngineOptions {
pub render: RenderMode,
pub base_dir: PathBuf,
pub sandbox: bool,
pub selection: SelectionOptions,
}Expand description
Validated configuration for a streaming engine.
Fields§
§render: RenderModeDefault renderer.
base_dir: PathBufBase directory for relative template references.
sandbox: boolConfine template references beneath base_dir using capability I/O.
selection: SelectionOptionsShared directory selection policy.
Trait Implementations§
Source§impl Clone for EngineOptions
impl Clone for EngineOptions
Source§fn clone(&self) -> EngineOptions
fn clone(&self) -> EngineOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EngineOptions
impl Debug for EngineOptions
Source§impl Default for EngineOptions
impl Default for EngineOptions
impl Eq for EngineOptions
Source§impl PartialEq for EngineOptions
impl PartialEq for EngineOptions
impl StructuralPartialEq for EngineOptions
Auto Trait Implementations§
impl Freeze for EngineOptions
impl RefUnwindSafe for EngineOptions
impl Send for EngineOptions
impl Sync for EngineOptions
impl Unpin for EngineOptions
impl UnsafeUnpin for EngineOptions
impl UnwindSafe for EngineOptions
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