[−][src]Struct schema_registry_converter::schema_registry::SRCError
Error struct which makes it easy to know if the resulting error is also preserved in the cache or not. And whether trying it again might not cause an error.
Methods
impl SRCError
[src]
Specific error from which can be determined whether retrying might not lead to an error and whether the error is cashed, it's turned into the cashed variant when it's put into the cache.
pub fn new(error: &str, cause: Option<&str>, retriable: bool) -> SRCError
[src]
pub fn into_cache(self) -> SRCError
[src]
Should be called before putting the error in the cache
Trait Implementations
impl PartialEq<SRCError> for SRCError
[src]
impl Clone for SRCError
[src]
Implements clone so when an error is returned from the cache, a copy can be returned
fn clone(&self) -> SRCError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Display for SRCError
[src]
Gives the information from the error in a readable format.
impl Debug for SRCError
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Same for T
type Output = T
Should always be Self