Skip to main content

Host

pub trait Host {
    // Required methods
    fn cwd(&mut self) -> Result<String, ErrorCode>;
    fn set_cwd(&mut self, path: String) -> Result<(), ErrorCode>;
}

Required Methods§

Source

fn cwd(&mut self) -> Result<String, ErrorCode>

Source

fn set_cwd(&mut self, path: String) -> Result<(), ErrorCode>

Implementations on Foreign Types§

Source§

impl<_T: Host + ?Sized> Host for &mut _T

Source§

fn cwd(&mut self) -> Result<String, ErrorCode>

Source§

fn set_cwd(&mut self, path: String) -> Result<(), ErrorCode>

Implementors§