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

pub struct FileSystemTarget {
    root_directory: String,
    listing: Arc<RwLock<Listing>>,

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


root_directory: Stringlisting: Arc<RwLock<Listing>>


impl FileSystemTarget[src]

pub fn new(root_directory: &str) -> FileSystemTarget[src]

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

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

pub fn set_root_directory(&mut self, new_root: &str)[src]

Trait Implementations

impl BackupDriver<File> for FileSystemTarget[src]

impl BackupTarget<File> for FileSystemTarget[src]

impl Clone for FileSystemTarget[src]

impl RestoreDriver<File> for FileSystemTarget[src]

impl RestoreTarget<File> for FileSystemTarget[src]

Auto Trait Implementations

impl !RefUnwindSafe for FileSystemTarget

impl Send for FileSystemTarget

impl Sync for FileSystemTarget

impl Unpin for FileSystemTarget

impl !UnwindSafe for FileSystemTarget

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]