pub enum HydrationError {
Cancelled,
Backend(CloudBackendError),
Contract(CloudFilesCoreError),
InFlightLimitExceeded {
scope: &'static str,
},
}Expand description
Product-neutral hydration coordination failure.
Variants§
Cancelled
The individual waiter was cancelled before it won the completion race.
Backend(CloudBackendError)
The product-owned content backend failed the revision-bound read.
Contract(CloudFilesCoreError)
Backend bytes violated the requested revision, range, or size contract.
InFlightLimitExceeded
The coordinator reached its configured global or per-content work limit.
Trait Implementations§
Source§impl Clone for HydrationError
impl Clone for HydrationError
Source§fn clone(&self) -> HydrationError
fn clone(&self) -> HydrationError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HydrationError
impl Debug for HydrationError
Source§impl Display for HydrationError
impl Display for HydrationError
Source§impl Error for HydrationError
impl Error for HydrationError
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<CloudBackendError> for HydrationError
impl From<CloudBackendError> for HydrationError
Source§fn from(source: CloudBackendError) -> Self
fn from(source: CloudBackendError) -> Self
Converts to this type from the input type.
Source§impl From<CloudFilesCoreError> for HydrationError
impl From<CloudFilesCoreError> for HydrationError
Source§fn from(source: CloudFilesCoreError) -> Self
fn from(source: CloudFilesCoreError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for HydrationError
impl PartialEq for HydrationError
impl Eq for HydrationError
impl StructuralPartialEq for HydrationError
Auto Trait Implementations§
impl Freeze for HydrationError
impl RefUnwindSafe for HydrationError
impl Send for HydrationError
impl Sync for HydrationError
impl Unpin for HydrationError
impl UnwindSafe for HydrationError
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