pub enum HistoryAccessType {
Tail {
n: u64,
},
Range {
session: i64,
start: u64,
stop: u64,
},
Search {
pattern: String,
},
}
Expand description
Type of history requested.
Variants§
Tail
Get the last n
cells.
Range
Get the range of cells associated with a session within a range.
Search
Search for history items matching a pattern.
Trait Implementations§
Source§impl Debug for HistoryAccessType
impl Debug for HistoryAccessType
Auto Trait Implementations§
impl Freeze for HistoryAccessType
impl RefUnwindSafe for HistoryAccessType
impl Send for HistoryAccessType
impl Sync for HistoryAccessType
impl Unpin for HistoryAccessType
impl UnwindSafe for HistoryAccessType
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