pub enum Files {
Any,
Root(PathBuf),
Deny,
}Expand description
要求で与えたパスの扱い
Variants§
Any
そのまま読み書きする(localhost だけで待ち受け、–root なし)
Root(PathBuf)
このフォルダ(正規化済み)の下だけ
Deny
読み書きしない(–allow-remote で –root なし)
Implementations§
Source§impl Files
評価関数の項(1 つか並び)の zplm のファイル・フォルダを Files::check_path で確かめる。ファイルを限っているとき
(–root・–allow-remote)は、既定の場所(LENSBENCH_MACROS・今のフォルダ)を探さない
impl Files
評価関数の項(1 つか並び)の zplm のファイル・フォルダを Files::check_path で確かめる。ファイルを限っているとき
(–root・–allow-remote)は、既定の場所(LENSBENCH_MACROS・今のフォルダ)を探さない
Sourcepub fn check_terms(&self, t: &mut Value) -> Result<()>
pub fn check_terms(&self, t: &mut Value) -> Result<()>
評価関数の項の zplm のファイル・フォルダを確かめる(CLI の optimize・tolerance の項のファイルにも)
Auto Trait Implementations§
impl Freeze for Files
impl RefUnwindSafe for Files
impl Send for Files
impl Sync for Files
impl Unpin for Files
impl UnsafeUnpin for Files
impl UnwindSafe for Files
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more