pub trait AsClient { // Required methods fn client(&self) -> &Client; fn client_mut(&mut self) -> &mut Client; }