Enum aleo_std_storage::StorageMode
source · pub enum StorageMode {
Production,
Development(u16),
Custom(PathBuf),
}Expand description
An enum to define the operating mode of the Aleo node.
Variants§
Production
The production mode is used for running a node on the Aleo mainnet.
Development(u16)
The development mode is used for running a node on a local network.
Custom(PathBuf)
The custom mode is used for running a node on custom configurations.
Trait Implementations§
source§impl Clone for StorageMode
impl Clone for StorageMode
source§fn clone(&self) -> StorageMode
fn clone(&self) -> StorageMode
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 StorageMode
impl Debug for StorageMode
source§impl PartialEq for StorageMode
impl PartialEq for StorageMode
source§fn eq(&self, other: &StorageMode) -> bool
fn eq(&self, other: &StorageMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for StorageMode
impl StructuralEq for StorageMode
impl StructuralPartialEq for StorageMode
Auto Trait Implementations§
impl RefUnwindSafe for StorageMode
impl Send for StorageMode
impl Sync for StorageMode
impl Unpin for StorageMode
impl UnwindSafe for StorageMode
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