pub struct RemoteClientError {
pub code: String,
pub message: String,
pub retryable: bool,
}Fields§
§code: String§message: String§retryable: boolTrait Implementations§
Source§impl Clone for RemoteClientError
impl Clone for RemoteClientError
Source§fn clone(&self) -> RemoteClientError
fn clone(&self) -> RemoteClientError
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 RemoteClientError
impl Debug for RemoteClientError
Source§impl Display for RemoteClientError
impl Display for RemoteClientError
impl Eq for RemoteClientError
Source§impl Error for RemoteClientError
impl Error for RemoteClientError
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()
Source§impl PartialEq for RemoteClientError
impl PartialEq for RemoteClientError
impl StructuralPartialEq for RemoteClientError
Auto Trait Implementations§
impl Freeze for RemoteClientError
impl RefUnwindSafe for RemoteClientError
impl Send for RemoteClientError
impl Sync for RemoteClientError
impl Unpin for RemoteClientError
impl UnsafeUnpin for RemoteClientError
impl UnwindSafe for RemoteClientError
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