pub enum FileSystemContract {
Properties,
Stat,
Read,
Write,
List,
CreateDirectory,
Representations,
Delete,
Copy,
Rename,
TempResources,
ErrorContext,
}Expand description
One independently executable provider contract phase.
§Examples
use qubit_fs_testkit::FileSystemContract;
assert!(FileSystemContract::ALL.contains(&FileSystemContract::Properties));
assert_eq!(FileSystemContract::ALL.len(), 12);Variants§
Properties
Immutable facade properties and fixture path compatibility.
Stat
Metadata identity and provider-neutral file kinds.
Read
Reads, ranges, conditions, and checksum validation.
Write
Writes, dispositions, conditions, replacement, and abort.
List
Direct, prefixed, metadata-bearing, and paged listings.
CreateDirectory
Directory creation and recursive ancestor creation.
Representations
Empty-directory/prefix and symbolic-link representations.
Delete
File, directory, conditional, missing-ok, and recursive deletion.
Copy
Copy methods, conflicts, statistics, and guarantees.
Rename
Rename identity, conflicts, overwrite, and guarantees.
TempResources
Temporary file and directory lifecycle and persistence.
ErrorContext
Structured public error context.
Implementations§
Trait Implementations§
Source§impl Clone for FileSystemContract
impl Clone for FileSystemContract
impl Copy for FileSystemContract
Source§impl Debug for FileSystemContract
impl Debug for FileSystemContract
impl Eq for FileSystemContract
Source§impl PartialEq for FileSystemContract
impl PartialEq for FileSystemContract
impl StructuralPartialEq for FileSystemContract
Auto Trait Implementations§
impl Forget for FileSystemContract
impl Freeze for FileSystemContract
impl Move for FileSystemContract
impl RefUnwindSafe for FileSystemContract
impl Send for FileSystemContract
impl Sync for FileSystemContract
impl Unpin for FileSystemContract
impl UnsafeUnpin for FileSystemContract
impl UnwindSafe for FileSystemContract
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