pub enum StreamReplayability<'a> {
NotReplayable,
Replayable(StreamSourceId<'a>),
}Expand description
Whether a streaming body can be reproduced for another attempt.
Variants§
NotReplayable
The source cannot guarantee byte-for-byte reproduction.
Replayable(StreamSourceId<'a>)
The source promises stable bytes while this exact version remains current.
Trait Implementations§
Source§impl<'a> Clone for StreamReplayability<'a>
impl<'a> Clone for StreamReplayability<'a>
Source§fn clone(&self) -> StreamReplayability<'a>
fn clone(&self) -> StreamReplayability<'a>
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<'a> Copy for StreamReplayability<'a>
Source§impl<'a> Debug for StreamReplayability<'a>
impl<'a> Debug for StreamReplayability<'a>
impl<'a> Eq for StreamReplayability<'a>
Source§impl<'a> PartialEq for StreamReplayability<'a>
impl<'a> PartialEq for StreamReplayability<'a>
impl<'a> StructuralPartialEq for StreamReplayability<'a>
Auto Trait Implementations§
impl<'a> Freeze for StreamReplayability<'a>
impl<'a> RefUnwindSafe for StreamReplayability<'a>
impl<'a> Send for StreamReplayability<'a>
impl<'a> Sync for StreamReplayability<'a>
impl<'a> Unpin for StreamReplayability<'a>
impl<'a> UnsafeUnpin for StreamReplayability<'a>
impl<'a> UnwindSafe for StreamReplayability<'a>
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