Struct disarray_network::MAINNET_CONFIG
source · [−]pub struct MAINNET_CONFIG { /* private fields */ }
Expand description
Mainnet config for mina p2p network
Methods from Deref<Target = TransportConfig<'static>>
Gets [PreSharedKey] from the TransportConfig instance
sourcepub fn get_mplex_config(&self) -> MplexConfig
pub fn get_mplex_config(&self) -> MplexConfig
Gets [MplexConfig] from the TransportConfig instance
Trait Implementations
sourceimpl Deref for MAINNET_CONFIG
impl Deref for MAINNET_CONFIG
type Target = TransportConfig<'static>
type Target = TransportConfig<'static>
The resulting type after dereferencing.
sourcefn deref(&self) -> &TransportConfig<'static>
fn deref(&self) -> &TransportConfig<'static>
Dereferences the value.
impl LazyStatic for MAINNET_CONFIG
Auto Trait Implementations
impl RefUnwindSafe for MAINNET_CONFIG
impl Send for MAINNET_CONFIG
impl Sync for MAINNET_CONFIG
impl Unpin for MAINNET_CONFIG
impl UnwindSafe for MAINNET_CONFIG
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