#[non_exhaustive]pub enum ServiceCheck {
Ok,
Failed {
reason: String,
},
Unreachable {
reason: String,
},
}Expand description
Result of checking one iCloud service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ok
The service accepted the credentials.
Failed
The service rejected them, or this check does not cover the service.
Unreachable
The check could not run (network failure, rate limit, outage), so the service neither accepted nor refused the credentials.
Trait Implementations§
Source§impl Clone for ServiceCheck
impl Clone for ServiceCheck
Source§impl Debug for ServiceCheck
impl Debug for ServiceCheck
impl Eq for ServiceCheck
Source§impl PartialEq for ServiceCheck
impl PartialEq for ServiceCheck
impl StructuralPartialEq for ServiceCheck
Auto Trait Implementations§
impl Forget for ServiceCheck
impl Freeze for ServiceCheck
impl Move for ServiceCheck
impl RefUnwindSafe for ServiceCheck
impl Send for ServiceCheckwhere
RawVecInner: Send,
impl Sync for ServiceCheckwhere
RawVecInner: Sync,
impl Unpin for ServiceCheck
impl UnsafeUnpin for ServiceCheck
impl UnwindSafe for ServiceCheckwhere
RawVecInner: UnwindSafe,
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