pub struct SearchIdGenerator { /* private fields */ }
Expand description
A Search ID generator.
This object will always return a different ID.
Well, it will wrap after 2**32
IDs. But most systems won’t open that many
files, and if they do, they are unlikely to hold one file open and then
open/close 2**32 - 1
others.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SearchIdGenerator
impl RefUnwindSafe for SearchIdGenerator
impl Send for SearchIdGenerator
impl Sync for SearchIdGenerator
impl Unpin for SearchIdGenerator
impl UnwindSafe for SearchIdGenerator
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