pub enum WindowsPreflightSnapshot {
ValidateData {
info: WindowsCallbackInfoSnapshot,
flags: u32,
range: WindowsCallbackRange,
},
Dehydrate {
info: WindowsCallbackInfoSnapshot,
flags: u32,
reason: u32,
},
Delete {
info: WindowsCallbackInfoSnapshot,
flags: u32,
},
Rename {
info: WindowsCallbackInfoSnapshot,
flags: u32,
target_path: Option<PathBuf>,
},
}Expand description
Owned CFAPI operation that blocks a local filesystem effect until the provider acknowledges it.
Variants§
ValidateData
Previously transferred data must be validated before CFAPI may serve it.
Fields
§
info: WindowsCallbackInfoSnapshotCommon owned callback correlation and stable identity.
§
range: WindowsCallbackRangeExact logical range awaiting validation.
Dehydrate
A placeholder is about to dehydrate.
Fields
§
info: WindowsCallbackInfoSnapshotCommon owned callback correlation and stable identity.
Delete
A placeholder is about to be deleted.
Fields
§
info: WindowsCallbackInfoSnapshotCommon owned callback correlation and stable identity.
Rename
A placeholder is about to be renamed or moved.
Implementations§
Source§impl WindowsPreflightSnapshot
impl WindowsPreflightSnapshot
Sourcepub const fn info(&self) -> &WindowsCallbackInfoSnapshot
pub const fn info(&self) -> &WindowsCallbackInfoSnapshot
Returns common callback information.
Trait Implementations§
Source§impl Clone for WindowsPreflightSnapshot
impl Clone for WindowsPreflightSnapshot
Source§fn clone(&self) -> WindowsPreflightSnapshot
fn clone(&self) -> WindowsPreflightSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowsPreflightSnapshot
impl Debug for WindowsPreflightSnapshot
Source§impl PartialEq for WindowsPreflightSnapshot
impl PartialEq for WindowsPreflightSnapshot
impl Eq for WindowsPreflightSnapshot
impl StructuralPartialEq for WindowsPreflightSnapshot
Auto Trait Implementations§
impl Freeze for WindowsPreflightSnapshot
impl RefUnwindSafe for WindowsPreflightSnapshot
impl Send for WindowsPreflightSnapshot
impl Sync for WindowsPreflightSnapshot
impl Unpin for WindowsPreflightSnapshot
impl UnwindSafe for WindowsPreflightSnapshot
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