Enum file_lock::Error [] [src]

pub enum Error {
    InvalidFilename,
    Errno(i32),
}

Represents the error that occured while trying to lock or unlock a file.

Variants

InvalidFilename

caused when the filename is invalid as it contains a nul byte.

Errno(i32)

caused when the error occurred at the filesystem layer (see errno).