pub struct WireError {
pub kind: String,
pub message: String,
pub retry_after_secs: Option<f64>,
}Expand description
Error kinds a helper reports. Anything unknown is treated as transient, so a peer that predates
persistence still degrades it to transient; a persistence kind keeps the local durability
failure (SyncError::Persistence) across the wire (rightkit#751).
Fields§
§kind: String§message: String§retry_after_secs: Option<f64>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WireError
impl<'de> Deserialize<'de> for WireError
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
Auto Trait Implementations§
impl Forget for WireError
impl Freeze for WireError
impl Move for WireError
impl RefUnwindSafe for WireError
impl Send for WireError
impl Sync for WireError
impl Unpin for WireError
impl UnsafeUnpin for WireError
impl UnwindSafe for WireError
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