pub enum GetLocalDeploymentLabelsError {
MissingContainerLabels,
NotALocalDeployment,
MissingMongodbVersion,
InvalidMongodbVersion {
reason: String,
},
MissingMongodbType,
InvalidMongodbType(ParseMongodbTypeError),
}Variants§
MissingContainerLabels
NotALocalDeployment
MissingMongodbVersion
InvalidMongodbVersion
MissingMongodbType
InvalidMongodbType(ParseMongodbTypeError)
Trait Implementations§
Source§impl Error for GetLocalDeploymentLabelsError
impl Error for GetLocalDeploymentLabelsError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<GetLocalDeploymentLabelsError> for IntoDeploymentError
impl From<GetLocalDeploymentLabelsError> for IntoDeploymentError
Source§fn from(source: GetLocalDeploymentLabelsError) -> Self
fn from(source: GetLocalDeploymentLabelsError) -> Self
Converts to this type from the input type.
Source§impl From<ParseMongodbTypeError> for GetLocalDeploymentLabelsError
impl From<ParseMongodbTypeError> for GetLocalDeploymentLabelsError
Source§fn from(source: ParseMongodbTypeError) -> Self
fn from(source: ParseMongodbTypeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetLocalDeploymentLabelsError
impl PartialEq for GetLocalDeploymentLabelsError
Source§fn eq(&self, other: &GetLocalDeploymentLabelsError) -> bool
fn eq(&self, other: &GetLocalDeploymentLabelsError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GetLocalDeploymentLabelsError
impl StructuralPartialEq for GetLocalDeploymentLabelsError
Auto Trait Implementations§
impl Freeze for GetLocalDeploymentLabelsError
impl RefUnwindSafe for GetLocalDeploymentLabelsError
impl Send for GetLocalDeploymentLabelsError
impl Sync for GetLocalDeploymentLabelsError
impl Unpin for GetLocalDeploymentLabelsError
impl UnsafeUnpin for GetLocalDeploymentLabelsError
impl UnwindSafe for GetLocalDeploymentLabelsError
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