GetLogs

Trait GetLogs 

Source
pub trait GetLogs {
    // Required method
    fn get_logs(self) -> Option<PathBuf>;
}
Expand description

Trait to allow getting a log directory from either a bp3d_fs::dirs::App or a String.

Required Methods§

Source

fn get_logs(self) -> Option<PathBuf>

Gets the log directory as a PathBuf.

Returns None if no directory could be computed.

Implementations on Foreign Types§

Source§

impl<'a> GetLogs for &'a str

Source§

impl<'a> GetLogs for &'a String

Source§

impl<'a, 'b> GetLogs for &'a App<'b>

Implementors§