pub struct NoReplay;Expand description
Marker for streams without replay support.
Trait Implementations§
Source§impl Replay for NoReplay
impl Replay for NoReplay
Source§fn replay_retention(self) -> Option<ReplayRetention>
fn replay_retention(self) -> Option<ReplayRetention>
Returns the replay retention represented by this marker.
Source§fn replay_enabled(self) -> bool
fn replay_enabled(self) -> bool
Returns whether replay-specific APIs are enabled for this marker.
impl Copy for NoReplay
impl Eq for NoReplay
impl StructuralPartialEq for NoReplay
Auto Trait Implementations§
impl Freeze for NoReplay
impl RefUnwindSafe for NoReplay
impl Send for NoReplay
impl Sync for NoReplay
impl Unpin for NoReplay
impl UnsafeUnpin for NoReplay
impl UnwindSafe for NoReplay
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