Devnet

Struct Devnet 

pub struct Devnet { /* private fields */ }

Implementations§

§

impl Devnet

pub fn new(sequencer: String) -> Self

Trait Implementations§

§

impl Debug for Devnet

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl NetworkProfile for Devnet

§

fn display_name(&self) -> &'static str

Display name of the network.
§

fn id(&self) -> &'static str

Id of the networ, used in path names and identifiers.
§

fn network_type(&self) -> NetworkType

Network enum for this profile.
§

fn dns_suffix(&self) -> &'static str

DNS suffix for nodes on this network.
§

fn sequencer<'a>(&'a self) -> &'a str

Url of Ethernet API offered by the sequencer.
§

fn bartender_id(&self) -> &'static str

Bartender’s lyquid id.
§

fn bartender_addr(&self) -> &'static str

Bartender’s sequencer contract addresss (initial).
§

fn init_chain_position(&self) -> ChainPos

The first chain position that can possibly contain any events.
§

fn finality(&self) -> &'static str

Which block tag (latest/finalized, etc.) should be used to determine the sequenced blocks.

Auto Trait Implementations§

§

impl Freeze for Devnet

§

impl RefUnwindSafe for Devnet

§

impl Send for Devnet

§

impl Sync for Devnet

§

impl Unpin for Devnet

§

impl UnwindSafe for Devnet

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> MaybeSend for T
where T: Send,