pub struct ConnectionError {
pub cause: String,
pub retry_after: i64,
pub should_retry: bool,
}Expand description
A rejected registration.
Fields§
§cause: StringThe edge’s error cause string.
retry_after: i64Nanoseconds to wait before retrying.
should_retry: boolWhether the edge considers the failure retryable.
Trait Implementations§
Source§impl Clone for ConnectionError
impl Clone for ConnectionError
Source§impl Debug for ConnectionError
impl Debug for ConnectionError
Source§impl From<ConnectionError> for RegistrationFailure
impl From<ConnectionError> for RegistrationFailure
Source§fn from(e: ConnectionError) -> Self
fn from(e: ConnectionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnectionError
impl RefUnwindSafe for ConnectionError
impl Send for ConnectionError
impl Sync for ConnectionError
impl Unpin for ConnectionError
impl UnsafeUnpin for ConnectionError
impl UnwindSafe for ConnectionError
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