Struct kailua_check::options::FsOptions
[−]
[src]
pub struct FsOptions<S> { /* fields omitted */ }
An implementation of Options
that loads from the file system.
The user should provide FsSource
, which provides a simpler interface for this use case.
Methods
impl<S: FsSource> FsOptions<S>
[src]
Trait Implementations
impl<S: FsSource> Options for FsOptions<S>
[src]
fn set_package_path(
&mut self,
path: Spanned<&[u8]>,
_report: &Report
) -> Result<(), Option<Stop>>
&mut self,
path: Spanned<&[u8]>,
_report: &Report
) -> Result<(), Option<Stop>>
Called when package.path
gets assigned to a string literal type. Read more
fn set_package_cpath(
&mut self,
path: Spanned<&[u8]>,
_report: &Report
) -> Result<(), Option<Stop>>
&mut self,
path: Spanned<&[u8]>,
_report: &Report
) -> Result<(), Option<Stop>>
Called when package.cpath
gets assigned to a string literal type. Read more
fn require_chunk(
&mut self,
path: Spanned<&[u8]>,
report: &Report
) -> Result<Chunk, Option<Stop>>
&mut self,
path: Spanned<&[u8]>,
report: &Report
) -> Result<Chunk, Option<Stop>>
Called when require
is called with a string literal type. Read more