pub struct ScanOptions {
pub keydb_path: Option<PathBuf>,
}Expand description
Options for disc scanning.
Fields§
§keydb_path: Option<PathBuf>Path to KEYDB.cfg for AACS key lookup. If None, searches standard locations ($HOME/.config/aacs/ and /etc/aacs/).
Implementations§
Source§impl ScanOptions
impl ScanOptions
Sourcepub fn with_keydb(path: impl Into<PathBuf>) -> Self
pub fn with_keydb(path: impl Into<PathBuf>) -> Self
Create options with a specific KEYDB path.
Trait Implementations§
Source§impl Default for ScanOptions
impl Default for ScanOptions
Source§fn default() -> ScanOptions
fn default() -> ScanOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScanOptions
impl RefUnwindSafe for ScanOptions
impl Send for ScanOptions
impl Sync for ScanOptions
impl Unpin for ScanOptions
impl UnsafeUnpin for ScanOptions
impl UnwindSafe for ScanOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more