pub enum SetTerminationProtectionError {
InternalServerError(String),
}
Expand description
Errors returned by SetTerminationProtection
Variants§
InternalServerError(String)
Indicates that an error occurred while processing the request and that the request was not completed.
Implementations§
Trait Implementations§
Source§impl Error for SetTerminationProtectionError
impl Error for SetTerminationProtectionError
1.30.0 · 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 PartialEq for SetTerminationProtectionError
impl PartialEq for SetTerminationProtectionError
Source§fn eq(&self, other: &SetTerminationProtectionError) -> bool
fn eq(&self, other: &SetTerminationProtectionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SetTerminationProtectionError
Auto Trait Implementations§
impl Freeze for SetTerminationProtectionError
impl RefUnwindSafe for SetTerminationProtectionError
impl Send for SetTerminationProtectionError
impl Sync for SetTerminationProtectionError
impl Unpin for SetTerminationProtectionError
impl UnwindSafe for SetTerminationProtectionError
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