pub enum ServiceAuditTargetsError {
TooMany {
maximum: usize,
},
Duplicate,
}Expand description
A safe validation failure for a service-audit target collection.
Variants§
TooMany
The collection contains more than the accepted v1 maximum.
Duplicate
The collection contains the same complete canonical target twice.
Trait Implementations§
Source§impl Clone for ServiceAuditTargetsError
impl Clone for ServiceAuditTargetsError
impl Copy for ServiceAuditTargetsError
Source§impl Debug for ServiceAuditTargetsError
impl Debug for ServiceAuditTargetsError
Source§impl Display for ServiceAuditTargetsError
impl Display for ServiceAuditTargetsError
impl Eq for ServiceAuditTargetsError
Source§impl Error for ServiceAuditTargetsError
impl Error for ServiceAuditTargetsError
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 ServiceAuditTargetsError
impl PartialEq for ServiceAuditTargetsError
impl StructuralPartialEq for ServiceAuditTargetsError
Auto Trait Implementations§
impl Freeze for ServiceAuditTargetsError
impl RefUnwindSafe for ServiceAuditTargetsError
impl Send for ServiceAuditTargetsError
impl Sync for ServiceAuditTargetsError
impl Unpin for ServiceAuditTargetsError
impl UnsafeUnpin for ServiceAuditTargetsError
impl UnwindSafe for ServiceAuditTargetsError
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