pub struct Env { /* private fields */ }Implementations§
Source§impl Env
impl Env
pub async fn new(prefix: &str, config: BlockchainConfig) -> Result<Self>
pub async fn node<T: BlockchainClient>(&self) -> Result<T>
pub fn connector_url(&self) -> String
pub fn connector(&self) -> Result<Client>
pub fn ephemeral_wallet(&self) -> Result<Wallet>
pub async fn shutdown(&self) -> Result<()>
Auto Trait Implementations§
impl Freeze for Env
impl !RefUnwindSafe for Env
impl Send for Env
impl Sync for Env
impl Unpin for Env
impl !UnwindSafe for Env
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more