pub trait NetPermissions {
    fn check_net<T: AsRef<str>>(
        &mut self,
        _host: &(T, Option<u16>),
        _api_name: &str
    ) -> Result<(), AnyError>; fn check_read(&mut self, _p: &Path, _api_name: &str) -> Result<(), AnyError>; fn check_write(&mut self, _p: &Path, _api_name: &str) -> Result<(), AnyError>; }

Required Methods

Implementors