Struct ethers_core::utils::GanacheInstance
source · pub struct GanacheInstance { /* private fields */ }
Expand description
A ganache CLI instance. Will close the instance when dropped.
Construct this using Ganache
Implementations
sourceimpl GanacheInstance
impl GanacheInstance
sourcepub fn keys(&self) -> &[K256SecretKey]
pub fn keys(&self) -> &[K256SecretKey]
Returns the private keys used to instantiate this instance
sourcepub fn ws_endpoint(&self) -> String
pub fn ws_endpoint(&self) -> String
Returns the Websocket endpoint of this instance
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for GanacheInstance
impl Send for GanacheInstance
impl Sync for GanacheInstance
impl Unpin for GanacheInstance
impl UnwindSafe for GanacheInstance
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more