Trait atuin_client::import::Importer[][src]

pub trait Importer: IntoIterator<Item = Result<History>> + Sized {
    const NAME: &'static str;

    fn histpath() -> Result<PathBuf>;
fn parse(path: impl AsRef<Path>) -> Result<Self>; }

Associated Constants

const NAME: &'static str[src]

Loading content...

Required methods

fn histpath() -> Result<PathBuf>[src]

fn parse(path: impl AsRef<Path>) -> Result<Self>[src]

Loading content...

Implementors

impl Importer for Bash<File>[src]

const NAME: &'static str[src]

fn histpath() -> Result<PathBuf>[src]

fn parse(path: impl AsRef<Path>) -> Result<Self>[src]

impl Importer for Resh[src]

const NAME: &'static str[src]

fn histpath() -> Result<PathBuf>[src]

fn parse(path: impl AsRef<Path>) -> Result<Self>[src]

impl Importer for Zsh<File>[src]

const NAME: &'static str[src]

fn histpath() -> Result<PathBuf>[src]

fn parse(path: impl AsRef<Path>) -> Result<Self>[src]

Loading content...