pub struct Dir { /* private fields */ }
Expand description

A filesystem directory.

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The type of a file entry in this Dir

The Class of a file stored in this Dir

Return true if this directory has an entry at the given PathSegment.

Create a new Dir.

Create a new Dir with a new unique ID.

Create a new Self::File.

Create a new Self::File with a new unique ID.

Look up a subdirectory of this Dir.

Get a Self::File in this Dir.

Formats the value using the given formatter. Read more

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return a View which can be encoded with en::IntoStream.

Return the schema of this persistent state.

Load a saved state from persistent storage.

Return the schema of this persistent state.

Load a saved state from persistent storage.

Return true if this store contains no data as of the given TxnId.

Commit this transaction.

Delete any version data specific to this transaction.

The TxnId of this transaction context.

Borrow the fs::Dir of this transaction context.

Consume this Txn and return its fs::Dir.

Return a transaction subcontext with its own fs::Dir.

Return a transaction subcontext with its own unique fs::Dir.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Cast an instance of T into an instance of Self.

Cast an instance of Self into an instance of T.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Returns true if self can be cast into the target type T.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

Test if value can be cast into Self.

Returns Some(Self) if the source value can be cast into Self, otherwise None.

Returns Ok(Self) if the source value can be cast into Self, otherwise calls on_err.

Test if self can be cast into T.

Returns Some(T) if self can be cast into T, otherwise None.

Returns Ok(T) if self can be cast into T, otherwise calls on_err.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more