Struct jormungandr::blockcfg::ConfigParams
source · pub struct ConfigParams(pub(crate) Vec<ConfigParam, Global>);
Tuple Fields§
§0: Vec<ConfigParam, Global>
Implementations§
source§impl ConfigParams
impl ConfigParams
pub fn new() -> ConfigParams
pub fn push(&mut self, config: ConfigParam)
pub fn iter(&self) -> Iter<'_, ConfigParam>
Trait Implementations§
source§impl Arbitrary for ConfigParams
impl Arbitrary for ConfigParams
source§impl Clone for ConfigParams
impl Clone for ConfigParams
source§fn clone(&self) -> ConfigParams
fn clone(&self) -> ConfigParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConfigParams
impl Debug for ConfigParams
source§impl Default for ConfigParams
impl Default for ConfigParams
source§fn default() -> ConfigParams
fn default() -> ConfigParams
Returns the “default value” for a type. Read more
source§impl DeserializeFromSlice for ConfigParams
impl DeserializeFromSlice for ConfigParams
source§impl From<BlockchainConfiguration> for ConfigParams
impl From<BlockchainConfiguration> for ConfigParams
source§fn from(blockchain_configuration: BlockchainConfiguration) -> ConfigParams
fn from(blockchain_configuration: BlockchainConfiguration) -> ConfigParams
Converts to this type from the input type.
source§impl From<ConfigParams> for ConfigParams
impl From<ConfigParams> for ConfigParams
source§fn from(config: ConfigParams) -> ConfigParams
fn from(config: ConfigParams) -> ConfigParams
Converts to this type from the input type.
source§impl PartialEq<ConfigParams> for ConfigParams
impl PartialEq<ConfigParams> for ConfigParams
source§fn eq(&self, other: &ConfigParams) -> bool
fn eq(&self, other: &ConfigParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ConfigParams
impl Serialize for ConfigParams
source§fn serialized_size(&self) -> usize
fn serialized_size(&self) -> usize
Default implementation, not efficient, not recommended to use it
fn serialize<W>(&self, codec: &mut Codec<W>) -> Result<(), WriteError>where W: Write,
source§fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>
fn serialize_as_vec(&self) -> Result<Vec<u8, Global>, WriteError>
Convenience method to serialize into a byte vector.
impl Eq for ConfigParams
impl StructuralEq for ConfigParams
impl StructuralPartialEq for ConfigParams
Auto Trait Implementations§
impl RefUnwindSafe for ConfigParams
impl Send for ConfigParams
impl Sync for ConfigParams
impl Unpin for ConfigParams
impl UnwindSafe for ConfigParams
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request