pub enum ReplicateError {
MissingCredentials(String),
InvalidCredentials(String),
PaymentNeeded(String),
SerializationError(String),
ClientError(String),
InvalidRequest(String),
Misc(String),
}
Variants§
MissingCredentials(String)
InvalidCredentials(String)
PaymentNeeded(String)
SerializationError(String)
ClientError(String)
InvalidRequest(String)
Misc(String)
Trait Implementations§
Source§impl Clone for ReplicateError
impl Clone for ReplicateError
Source§fn clone(&self) -> ReplicateError
fn clone(&self) -> ReplicateError
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 ReplicateError
impl Debug for ReplicateError
Source§impl Display for ReplicateError
impl Display for ReplicateError
Source§impl Error for ReplicateError
impl Error for ReplicateError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for ReplicateError
impl RefUnwindSafe for ReplicateError
impl Send for ReplicateError
impl Sync for ReplicateError
impl Unpin for ReplicateError
impl UnwindSafe for ReplicateError
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