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