pub struct TargetEnvironmentValidation(/* private fields */);
Expand description
The result of validating an application against a list of target environments.
If is_ok
returns true (or equivalently if the errors
collection is empty),
the application passed validation, and can run in all the environments against
which it was checked. Otherwise, at least one component cannot run in at least
one target environment, and the errors
collection contains the details.
Implementations§
Trait Implementations§
Source§impl Default for TargetEnvironmentValidation
impl Default for TargetEnvironmentValidation
Source§fn default() -> TargetEnvironmentValidation
fn default() -> TargetEnvironmentValidation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TargetEnvironmentValidation
impl RefUnwindSafe for TargetEnvironmentValidation
impl Send for TargetEnvironmentValidation
impl Sync for TargetEnvironmentValidation
impl Unpin for TargetEnvironmentValidation
impl UnwindSafe for TargetEnvironmentValidation
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
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