pub enum UpstreamErrorCategory {
Unauthorized,
Retryable,
Failed,
}Variants§
Implementations§
Source§impl UpstreamErrorCategory
impl UpstreamErrorCategory
pub fn dry_run_sample() -> Self
Trait Implementations§
Source§impl Clone for UpstreamErrorCategory
impl Clone for UpstreamErrorCategory
Source§fn clone(&self) -> UpstreamErrorCategory
fn clone(&self) -> UpstreamErrorCategory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpstreamErrorCategory
impl Debug for UpstreamErrorCategory
Source§impl<'de> Deserialize<'de> for UpstreamErrorCategory
impl<'de> Deserialize<'de> for UpstreamErrorCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UpstreamErrorCategory
Source§impl PartialEq for UpstreamErrorCategory
impl PartialEq for UpstreamErrorCategory
Source§fn eq(&self, other: &UpstreamErrorCategory) -> bool
fn eq(&self, other: &UpstreamErrorCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpstreamErrorCategory
impl Serialize for UpstreamErrorCategory
impl StructuralPartialEq for UpstreamErrorCategory
Auto Trait Implementations§
impl Freeze for UpstreamErrorCategory
impl RefUnwindSafe for UpstreamErrorCategory
impl Send for UpstreamErrorCategory
impl Sync for UpstreamErrorCategory
impl Unpin for UpstreamErrorCategory
impl UnsafeUnpin for UpstreamErrorCategory
impl UnwindSafe for UpstreamErrorCategory
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