Trait maelstrom_util::fs::GetPath

source ·
pub trait GetPath {
    // Required method
    fn path(&self) -> &Path;
}

Required Methods§

source

fn path(&self) -> &Path

Implementations on Foreign Types§

source§

impl<'a, T: GetPath> GetPath for &'a T

source§

fn path(&self) -> &Path

source§

impl<'a, T: GetPath> GetPath for &'a mut T

source§

fn path(&self) -> &Path

source§

impl<T> GetPath for BufReader<T>
where T: GetPath + Read,

source§

fn path(&self) -> &Path

source§

impl<T> GetPath for BufWriter<T>
where T: GetPath + Write,

source§

fn path(&self) -> &Path

source§

impl<T> GetPath for BufReader<T>
where T: GetPath + AsyncRead,

source§

fn path(&self) -> &Path

source§

impl<T> GetPath for BufStream<T>

source§

fn path(&self) -> &Path

source§

impl<T> GetPath for BufWriter<T>
where T: GetPath + AsyncWrite,

source§

fn path(&self) -> &Path

Implementors§

source§

impl GetPath for maelstrom_util::async_fs::File

source§

impl GetPath for maelstrom_util::fs::File<'_>

source§

impl<T> GetPath for BufferedStream<T>
where T: GetPath,