pub struct RewindOptions {
pub history: Option<usize>,
}Fields§
§history: Option<usize>Maximum retained consumed-token history. None is unbounded,
the serialized false; Some(0) retains nothing; the default is
Some(64), which a serialized null also means. Some(0) used
to be read as unbounded, the opposite of the canonical runtime
(#142), and null as unbounded rather than the default (#144).
Trait Implementations§
Source§impl Clone for RewindOptions
impl Clone for RewindOptions
Source§impl Debug for RewindOptions
impl Debug for RewindOptions
Auto Trait Implementations§
impl Freeze for RewindOptions
impl RefUnwindSafe for RewindOptions
impl Send for RewindOptions
impl Sync for RewindOptions
impl Unpin for RewindOptions
impl UnsafeUnpin for RewindOptions
impl UnwindSafe for RewindOptions
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