Struct il2_utils::fs::shared::DefaultSharedFileLockNameBuilder[][src]

pub struct DefaultSharedFileLockNameBuilder;
Expand description

This is the default implementation of the SharedFileLockNameBuilder.

The lock file will be in the same directory of the target file and will have the same name of the target file with the prefix “.” and the suffix “.lock~”.

Implementations

Prefix of the lock file.

Suffic of the lock file.

Trait Implementations

Creates the lock file name based on the original file name. It is used by Self::create_lock_file_path() to compose the lock file name. Read more

Creates the lock file name from the target file. Read more

Returns the lock directory. It is used by Self::create_lock_file_path() to compose the lock file name. 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.

Performs the conversion.

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.