Struct asuran::manifest::destination::filesystem::FileSystemTarget[][src]

pub struct FileSystemTarget { /* fields omitted */ }
Expand description

A type that handles the complexities of dealing with a file system for you.

Implementations

Creates a new FileSystemTarget with the given path as its top level directory.

The FileSystemTarget will consider all paths below this directory for backup.

Trait Implementations

Inserts an object into the repository using the output from BackupTarget::backup_object Read more

Convenience method that performs a call to self.backup_object for you and routes the results into self.raw_store_object Read more

Returns a listing of all the backup-able objects in the target’s domain Read more

Takes a path and returns a reader for the path this object represents Read more

Returns a serialized listing that should be stored in an archive at archive:listing Read more

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Retrives an object from the repository using the output from RestoreTarget::restore_object Read more

Retrieves an object, performing the call to BackupTarget::restore_object and raw_retrive_object for you. Read more

Loads an object listing and creates a new restore target from it

Takes an object path Read more

Returns a copy of the internal listing object Read more

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

Performs the conversion.

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

Performs the conversion.

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)

recently added

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

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