pub struct CursorKeys { /* private fields */ }Expand description
The keys session.list cursors are sealed and opened with. New cursors are
sealed with current; a cursor sealed with a retired key still opens, so
replacing the key does not break listings already under way.
An embedder that keeps state across restarts installs keys that survive them too, or every cursor it handed out stops working when it restarts. With none installed, the runtime uses a random key of its own for the life of the process.
Implementations§
Trait Implementations§
Source§impl Clone for CursorKeys
impl Clone for CursorKeys
Auto Trait Implementations§
impl Freeze for CursorKeys
impl RefUnwindSafe for CursorKeys
impl Send for CursorKeys
impl Sync for CursorKeys
impl Unpin for CursorKeys
impl UnsafeUnpin for CursorKeys
impl UnwindSafe for CursorKeys
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