pub struct FsmonitorRefreshOptions {
pub query_boundary: FsmonitorQueryBoundary,
}Expand description
Inputs for refresh_index; embedders supply the query boundary explicitly.
Fields§
§query_boundary: FsmonitorQueryBoundaryToken Git stores after a hook protocol v1 query (sampled before spawning the hook).
Implementations§
Source§impl FsmonitorRefreshOptions
impl FsmonitorRefreshOptions
Sourcepub fn with_query_boundary(boundary: FsmonitorQueryBoundary) -> Self
pub fn with_query_boundary(boundary: FsmonitorQueryBoundary) -> Self
Build refresh options from an explicit boundary (for tests and embedders).
Trait Implementations§
Source§impl Clone for FsmonitorRefreshOptions
impl Clone for FsmonitorRefreshOptions
impl Copy for FsmonitorRefreshOptions
Auto Trait Implementations§
impl Freeze for FsmonitorRefreshOptions
impl RefUnwindSafe for FsmonitorRefreshOptions
impl Send for FsmonitorRefreshOptions
impl Sync for FsmonitorRefreshOptions
impl Unpin for FsmonitorRefreshOptions
impl UnsafeUnpin for FsmonitorRefreshOptions
impl UnwindSafe for FsmonitorRefreshOptions
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