pub struct DurableStreamError {
pub kind: DurableStreamErrorKind,
pub message: String,
pub retry_after_ms: Option<u64>,
pub producer_epoch: Option<u64>,
pub expected_sequence: Option<u64>,
}Fields§
§kind: DurableStreamErrorKind§message: String§retry_after_ms: Option<u64>§producer_epoch: Option<u64>§expected_sequence: Option<u64>Trait Implementations§
Source§impl Clone for DurableStreamError
impl Clone for DurableStreamError
Source§impl Debug for DurableStreamError
impl Debug for DurableStreamError
Source§impl Display for DurableStreamError
impl Display for DurableStreamError
Source§impl Error for DurableStreamError
impl Error for DurableStreamError
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 From<DurableStreamError> for Error
impl From<DurableStreamError> for Error
Source§fn from(value: DurableStreamError) -> Self
fn from(value: DurableStreamError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DurableStreamError
impl RefUnwindSafe for DurableStreamError
impl Send for DurableStreamError
impl Sync for DurableStreamError
impl Unpin for DurableStreamError
impl UnsafeUnpin for DurableStreamError
impl UnwindSafe for DurableStreamError
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