pub struct RuntimePick { /* private fields */ }Implementations§
Source§impl RuntimePick
impl RuntimePick
pub fn add(&mut self, value: &str) -> Result<(), String>
pub fn global(&self) -> Option<&str>
pub fn explicit(&self, path: &Path) -> Option<&str>
pub fn resolve( &self, path: &Path, catalog: &Catalog, ) -> Result<RuntimeId, String>
pub fn resolve_with( &self, path: &Path, requested: Option<RuntimeId>, catalog: &Catalog, ) -> Result<RuntimeId, String>
Trait Implementations§
Source§impl Clone for RuntimePick
impl Clone for RuntimePick
Source§impl Debug for RuntimePick
impl Debug for RuntimePick
Auto Trait Implementations§
impl Freeze for RuntimePick
impl RefUnwindSafe for RuntimePick
impl Send for RuntimePick
impl Sync for RuntimePick
impl Unpin for RuntimePick
impl UnsafeUnpin for RuntimePick
impl UnwindSafe for RuntimePick
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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