pub enum LedgerRoot {
DataDir,
AccountHome,
}Expand description
What the ledger location is relative to (module doc, Decision B).
Variants§
DataDir
The node’s data directory: local nodes.
AccountHome
The service account’s home directory: ssh nodes.
Implementations§
Source§impl LedgerRoot
impl LedgerRoot
Sourcepub fn for_node(node: &NodeTarget) -> LedgerRoot
pub fn for_node(node: &NodeTarget) -> LedgerRoot
The root for how node is reached: an ssh node keeps its ledger in
the account home, a local node (or one with neither) in its data
directory.
Trait Implementations§
Source§impl Clone for LedgerRoot
impl Clone for LedgerRoot
impl Copy for LedgerRoot
Source§impl Debug for LedgerRoot
impl Debug for LedgerRoot
impl Eq for LedgerRoot
Source§impl PartialEq for LedgerRoot
impl PartialEq for LedgerRoot
impl StructuralPartialEq for LedgerRoot
Auto Trait Implementations§
impl Freeze for LedgerRoot
impl RefUnwindSafe for LedgerRoot
impl Send for LedgerRoot
impl Sync for LedgerRoot
impl Unpin for LedgerRoot
impl UnsafeUnpin for LedgerRoot
impl UnwindSafe for LedgerRoot
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.