pub struct UnimplementedValue {
pub option: &'static str,
pub value: &'static str,
pub feature: &'static str,
pub advice: &'static str,
}Expand description
One registered value of a string option that pounce does not implement, even though the option itself is read and other values of it work.
UNIMPLEMENTED_FEATURES refuses a whole option; this refuses one
mode of one. The registry keeps upstream’s full value list so an
ipopt.opt written for Ipopt still parses — but a value that parses
and then quietly behaves as a different mode is the same lie the
module docstring is about, one level down.
Fields§
§option: &'static strThe option’s registered name.
value: &'static strThe value pounce does not implement.
feature: &'static strWhat that value would mean, named in the error.
advice: &'static strWhat the caller can do instead. Empty when there is nothing.
Auto Trait Implementations§
impl Freeze for UnimplementedValue
impl RefUnwindSafe for UnimplementedValue
impl Send for UnimplementedValue
impl Sync for UnimplementedValue
impl Unpin for UnimplementedValue
impl UnsafeUnpin for UnimplementedValue
impl UnwindSafe for UnimplementedValue
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<T, U> Imply<T> for U
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