pub enum SourceErrorPolicy {
Propagate,
NotFound,
}Expand description
How a source failure is answered to the client.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SourceErrorPolicy
impl Clone for SourceErrorPolicy
Source§fn clone(&self) -> SourceErrorPolicy
fn clone(&self) -> SourceErrorPolicy
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 moreimpl Copy for SourceErrorPolicy
Source§impl Debug for SourceErrorPolicy
impl Debug for SourceErrorPolicy
Source§impl Default for SourceErrorPolicy
impl Default for SourceErrorPolicy
Source§fn default() -> SourceErrorPolicy
fn default() -> SourceErrorPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceErrorPolicy
impl<'de> Deserialize<'de> for SourceErrorPolicy
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 SourceErrorPolicy
Source§impl PartialEq for SourceErrorPolicy
impl PartialEq for SourceErrorPolicy
Source§impl Serialize for SourceErrorPolicy
impl Serialize for SourceErrorPolicy
impl StructuralPartialEq for SourceErrorPolicy
Auto Trait Implementations§
impl Freeze for SourceErrorPolicy
impl RefUnwindSafe for SourceErrorPolicy
impl Send for SourceErrorPolicy
impl Sync for SourceErrorPolicy
impl Unpin for SourceErrorPolicy
impl UnsafeUnpin for SourceErrorPolicy
impl UnwindSafe for SourceErrorPolicy
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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