pub enum StreamReplayError {
NonReplayable,
SourceChanged,
}Expand description
Streaming replay rejection.
Variants§
NonReplayable
Either attempt uses a non-replayable source.
SourceChanged
The source version changed between attempts.
Trait Implementations§
Source§impl Clone for StreamReplayError
impl Clone for StreamReplayError
Source§fn clone(&self) -> StreamReplayError
fn clone(&self) -> StreamReplayError
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 moreimpl Copy for StreamReplayError
Source§impl Debug for StreamReplayError
impl Debug for StreamReplayError
Source§impl Display for StreamReplayError
impl Display for StreamReplayError
impl Eq for StreamReplayError
Source§impl Error for StreamReplayError
impl Error for StreamReplayError
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 StreamReplayError
impl PartialEq for StreamReplayError
impl StructuralPartialEq for StreamReplayError
Auto Trait Implementations§
impl Freeze for StreamReplayError
impl RefUnwindSafe for StreamReplayError
impl Send for StreamReplayError
impl Sync for StreamReplayError
impl Unpin for StreamReplayError
impl UnsafeUnpin for StreamReplayError
impl UnwindSafe for StreamReplayError
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