Enum hersir::builder::ControllerError
source · [−]pub enum ControllerError {
Show 21 variants
Node(NodeError),
- Wallet(WalletError),
+ Wallet(WalletError),
FsFixture(FixtureError),
Io(Error),
Reqwest(Error),
@@ -14,15 +14,15 @@
Startup(StartupError),
CannotSpawnNode(Error),
InteractiveCommand(InteractiveCommandError),
- FragmentSender(FragmentSenderError),
+ FragmentSender(FragmentSenderError),
Serialization(Error),
Legacy(LegacyConfigError),
SettingsWallet(Error),
Settings(Error),
NoExplorerConfigurationDefined,
-}
Variants
Node(NodeError)
Wallet(WalletError)
FsFixture(FixtureError)
Io(Error)
Reqwest(Error)
Explorer(ExplorerError)
BlockFormatError(ReadError)
BlockWriteError(WriteError)
NodeNotFound(String)
WalletNotFound(String)
StakePoolNotFound(String)
VotePlanNotFound(String)
Startup(StartupError)
CannotSpawnNode(Error)
InteractiveCommand(InteractiveCommandError)
FragmentSender(FragmentSenderError)
Serialization(Error)
Legacy(LegacyConfigError)
SettingsWallet(Error)
Settings(Error)
NoExplorerConfigurationDefined
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
+}Variants
Node(NodeError)
Wallet(WalletError)
FsFixture(FixtureError)
Io(Error)
Reqwest(Error)
Explorer(ExplorerError)
BlockFormatError(ReadError)
BlockWriteError(WriteError)
NodeNotFound(String)
WalletNotFound(String)
StakePoolNotFound(String)
VotePlanNotFound(String)
Startup(StartupError)
CannotSpawnNode(Error)
InteractiveCommand(InteractiveCommandError)
FragmentSender(FragmentSenderError)
Serialization(Error)
Legacy(LegacyConfigError)
SettingsWallet(Error)
Settings(Error)
NoExplorerConfigurationDefined
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: LegacyConfigError) -> Self
fn from(source: LegacyConfigError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: ControllerError) -> Self
fn from(source: ControllerError) -> Self
sourceimpl From<ExplorerError> for Error
impl From<ExplorerError> for Error
sourcefn from(source: ExplorerError) -> Self
fn from(source: ExplorerError) -> Self
sourceimpl From<InteractiveCommandError> for Error
impl From<InteractiveCommandError> for Error
sourcefn from(source: InteractiveCommandError) -> Self
fn from(source: InteractiveCommandError) -> Self
sourceimpl From<StartupError> for Error
impl From<StartupError> for Error
sourcefn from(source: StartupError) -> Self
fn from(source: StartupError) -> Self
sourceimpl From<WriteError> for Error
impl From<WriteError> for Error
sourcefn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: LegacyConfigError) -> Self
fn from(source: LegacyConfigError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: ControllerError) -> Self
fn from(source: ControllerError) -> Self
sourceimpl From<ExplorerError> for Error
impl From<ExplorerError> for Error
sourcefn from(source: ExplorerError) -> Self
fn from(source: ExplorerError) -> Self
sourceimpl From<FragmentSenderError> for Error
impl From<FragmentSenderError> for Error
sourcefn from(source: FragmentSenderError) -> Self
fn from(source: FragmentSenderError) -> Self
sourceimpl From<InteractiveCommandError> for Error
impl From<InteractiveCommandError> for Error
sourcefn from(source: InteractiveCommandError) -> Self
fn from(source: InteractiveCommandError) -> Self
sourceimpl From<StartupError> for Error
impl From<StartupError> for Error
sourcefn from(source: StartupError) -> Self
fn from(source: StartupError) -> Self
sourceimpl From<WalletError> for Error
impl From<WalletError> for Error
sourcefn from(source: WalletError) -> Self
fn from(source: WalletError) -> Self
sourceimpl From<WriteError> for Error
impl From<WriteError> for Error
sourcefn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Fields
nodes: HashMap<NodeAlias, NodeSetting>
wallets: Vec<Wallet>
committees: Vec<CommitteeIdDef>
block0: Block0Configuration
explorer: Option<ExplorerConfiguration>
stake_pools: HashMap<NodeAlias, StakePool>
vote_plans: HashMap<VotePlanKey, VotePlanSettings>
Implementations
sourceimpl Settings
impl Settings
pub fn new<RNG>(
nodes: HashMap<NodeAlias, NodeSetting>,
blockchain: &Blockchain,
wallets: &[WalletTemplate],
committees: &[CommitteeTemplate],
explorer: &Option<ExplorerTemplate>,
vote_plans: &[VotePlanTemplate],
rng: &mut Random<RNG>
) -> Result<Self, Error>where
RNG: RngCore + CryptoRng,
pub fn dump_private_vote_keys(&self, directory: ChildPath)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+}Fields
nodes: HashMap<NodeAlias, NodeSetting>
wallets: Vec<Wallet>
committees: Vec<CommitteeIdDef>
block0: Block0Configuration
explorer: Option<ExplorerConfiguration>
stake_pools: HashMap<NodeAlias, StakePool>
vote_plans: HashMap<VotePlanKey, VotePlanSettings>
Implementations
sourceimpl Settings
impl Settings
pub fn new<RNG>(
nodes: HashMap<NodeAlias, NodeSetting>,
blockchain: &Blockchain,
wallets: &[WalletTemplate],
committees: &[CommitteeTemplate],
explorer: &Option<ExplorerTemplate>,
vote_plans: &[VotePlanTemplate],
rng: &mut Random<RNG>
) -> Result<Self, Error>where
RNG: RngCore + CryptoRng,
pub fn dump_private_vote_keys(&self, directory: ChildPath)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
pub enum VotePlanSettings {
Public(VotePlan),
Private {
- keys: CommitteeDataManager,
+ keys: CommitteeDataManager,
vote_plan: VotePlan,
},
-}
Variants
Public(VotePlan)
Private
Implementations
sourceimpl VotePlanSettings
impl VotePlanSettings
pub fn vote_plan(&self) -> VotePlan
pub fn to_id(&self) -> VotePlanId
pub fn from_public_vote_plan(vote_plan: VotePlan) -> Self
Trait Implementations
sourceimpl Clone for VotePlanSettings
impl Clone for VotePlanSettings
sourcefn clone(&self) -> VotePlanSettings
fn clone(&self) -> VotePlanSettings
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for VotePlanSettings
impl Send for VotePlanSettings
impl Sync for VotePlanSettings
impl Unpin for VotePlanSettings
impl UnwindSafe for VotePlanSettings
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+}Variants
Public(VotePlan)
Private
Implementations
sourceimpl VotePlanSettings
impl VotePlanSettings
pub fn vote_plan(&self) -> VotePlan
pub fn to_id(&self) -> VotePlanId
pub fn from_public_vote_plan(vote_plan: VotePlan) -> Self
Trait Implementations
sourceimpl Clone for VotePlanSettings
impl Clone for VotePlanSettings
sourcefn clone(&self) -> VotePlanSettings
fn clone(&self) -> VotePlanSettings
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for VotePlanSettings
impl Send for VotePlanSettings
impl Sync for VotePlanSettings
impl Unpin for VotePlanSettings
impl UnwindSafe for VotePlanSettings
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
pub struct Wallet { /* private fields */ }
Expand description
wallet to utilise when testing jormungandr
This can be used for a faucet
-Implementations
sourceimpl Wallet
impl Wallet
pub fn save_to<P: AsRef<Path>>(&self, dir: P) -> Result<()>
pub fn external(template: WalletTemplate) -> Self
pub fn generate_account<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere
RNG: CryptoRng + RngCore,
pub fn generate_utxo<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere
RNG: CryptoRng + RngCore,
pub fn has_alias(&self, alias: &WalletAlias) -> bool
pub fn address(&self) -> Result<Address, Error>
pub fn committee_id(&self) -> Result<CommitteeId, Error>
pub fn stake_key(&self) -> Option<UnspecifiedAccountIdentifier>
pub fn delegation_cert_for_block0(
&self,
valid_until: BlockDate,
pool_id: PoolId
) -> Result<Initial, Error>
pub fn template(&self) -> &WalletTemplate
pub fn identifier(&self) -> Identifier
pub fn to_initial_fund(&self) -> Result<InitialUTxO, Error>
pub fn inner(&self) -> &Option<Inner>
Trait Implementations
sourceimpl From<WalletTemplate> for Wallet
impl From<WalletTemplate> for Wallet
sourcefn from(template: WalletTemplate) -> Self
fn from(template: WalletTemplate) -> Self
Auto Trait Implementations
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnwindSafe for Wallet
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
Implementations
sourceimpl Wallet
impl Wallet
pub fn save_to<P: AsRef<Path>>(&self, dir: P) -> Result<()>
pub fn external(template: WalletTemplate) -> Self
pub fn generate_account<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere
RNG: CryptoRng + RngCore,
pub fn generate_utxo<RNG>(template: WalletTemplate, rng: &mut RNG) -> Selfwhere
RNG: CryptoRng + RngCore,
pub fn has_alias(&self, alias: &WalletAlias) -> bool
pub fn address(&self) -> Result<Address, Error>
pub fn committee_id(&self) -> Result<CommitteeId, Error>
pub fn stake_key(&self) -> Option<UnspecifiedAccountIdentifier>
pub fn delegation_cert_for_block0(
&self,
valid_until: BlockDate,
pool_id: PoolId
) -> Result<Initial, Error>
pub fn template(&self) -> &WalletTemplate
pub fn identifier(&self) -> Identifier
pub fn to_initial_fund(&self) -> Result<InitialUTxO, Error>
pub fn inner(&self) -> &Option<Inner>
Trait Implementations
sourceimpl From<WalletTemplate> for Wallet
impl From<WalletTemplate> for Wallet
sourcefn from(template: WalletTemplate) -> Self
fn from(template: WalletTemplate) -> Self
Auto Trait Implementations
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnwindSafe for Wallet
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
pub fn generate_vote_plans(
wallets: &[Wallet],
vote_plans: &[VotePlanTemplate],
keys: &mut CommitteeDataManager
) -> (HashMap<VotePlanKey, VotePlanSettings>, Vec<Fragment>)
pub fn generate_vote_plans(
wallets: &[Wallet],
vote_plans: &[VotePlanTemplate],
keys: &mut CommitteeDataManager
) -> (HashMap<VotePlanKey, VotePlanSettings>, Vec<Fragment>)
Enum hersir::config::CommitteeTemplate
source · [−]pub enum CommitteeTemplate {
Generated {
- alias: WalletAlias,
+ alias: WalletAlias,
member_pk: Option<String>,
communication_pk: Option<String>,
},
@@ -9,7 +9,7 @@
member_pk: Option<String>,
communication_pk: Option<String>,
},
-}
Variants
Generated
External
Trait Implementations
sourceimpl Clone for CommitteeTemplate
impl Clone for CommitteeTemplate
sourcefn clone(&self) -> CommitteeTemplate
fn clone(&self) -> CommitteeTemplate
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for CommitteeTemplate
impl Debug for CommitteeTemplate
sourceimpl<'de> Deserialize<'de> for CommitteeTemplate
impl<'de> Deserialize<'de> for CommitteeTemplate
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for CommitteeTemplate
impl Send for CommitteeTemplate
impl Sync for CommitteeTemplate
impl Unpin for CommitteeTemplate
impl UnwindSafe for CommitteeTemplate
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+}Variants
Generated
External
Trait Implementations
sourceimpl Clone for CommitteeTemplate
impl Clone for CommitteeTemplate
sourcefn clone(&self) -> CommitteeTemplate
fn clone(&self) -> CommitteeTemplate
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for CommitteeTemplate
impl Debug for CommitteeTemplate
sourceimpl<'de> Deserialize<'de> for CommitteeTemplate
impl<'de> Deserialize<'de> for CommitteeTemplate
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for CommitteeTemplate
impl Send for CommitteeTemplate
impl Sync for CommitteeTemplate
impl Unpin for CommitteeTemplate
impl UnwindSafe for CommitteeTemplate
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Enum hersir::config::WalletTemplate
source · [−]pub enum WalletTemplate {
Generated {
- alias: WalletAlias,
+ alias: WalletAlias,
value: Value,
wallet_type: WalletType,
delegate: Option<NodeAlias>,
@@ -12,10 +12,10 @@
value: Value,
tokens: HashMap<TokenIdentifier, u64>,
},
-}
Variants
Generated
Generated wallet when we want let hersir generate new wallet from scratch
+}Variants
Generated
Fields
alias: WalletAlias
value: Value
discrimination: Discrimination
tokens: HashMap<TokenIdentifier, u64>
Generated wallet when we want let hersir generate new wallet from scratch
External
Wallet which was given in configuration by address, thus hersir does not control it, which implies that some operations like delegation in block0 are not available
-Implementations
sourceimpl WalletTemplate
impl WalletTemplate
sourceimpl WalletTemplate
impl WalletTemplate
pub fn new_account<S: Into<WalletAlias>>(
alias: S,
value: Value,
discrimination: Discrimination,
tokens: HashMap<TokenIdentifier, u64>
) -> Self
pub fn new_utxo<S: Into<WalletAlias>>(
alias: S,
value: Value,
discrimination: Discrimination,
tokens: HashMap<TokenIdentifier, u64>
) -> Self
pub fn new_external<S: Into<String>>(
address: S,
value: Value,
tokens: HashMap<TokenIdentifier, u64>
) -> Self
pub fn id(&self) -> String
pub fn alias(&self) -> Option<WalletAlias>
pub fn address(&self) -> Option<String>
pub fn discrimination(&self) -> Discrimination
pub fn wallet_type(&self) -> Option<WalletType>
pub fn value(&self) -> &Value
pub fn delegate(&self) -> &Option<NodeAlias>
pub fn delegate_mut(&mut self) -> &mut Option<NodeAlias>
pub fn tokens(&self) -> &HashMap<TokenIdentifier, u64>
Trait Implementations
sourceimpl Clone for WalletTemplate
impl Clone for WalletTemplate
sourcefn clone(&self) -> WalletTemplate
fn clone(&self) -> WalletTemplate
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for WalletTemplate
impl Debug for WalletTemplate
sourceimpl<'de> Deserialize<'de> for WalletTemplate
impl<'de> Deserialize<'de> for WalletTemplate
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
sourceimpl From<WalletTemplate> for Wallet
impl From<WalletTemplate> for Wallet
sourcefn from(template: WalletTemplate) -> Self
fn from(template: WalletTemplate) -> Self
sourceimpl Hash for WalletTemplate
impl Hash for WalletTemplate
sourceimpl PartialEq<WalletTemplate> for WalletTemplate
impl PartialEq<WalletTemplate> for WalletTemplate
sourcefn eq(&self, other: &WalletTemplate) -> bool
fn eq(&self, other: &WalletTemplate) -> bool
self
and other
values to be equal, and is used
+Implementations
sourceimpl WalletTemplate
impl WalletTemplate
pub fn is_generated(&self) -> bool
pub fn has_alias(&self, other_alias: &WalletAlias) -> bool
sourceimpl WalletTemplate
impl WalletTemplate
pub fn new_account<S: Into<WalletAlias>>(
alias: S,
value: Value,
discrimination: Discrimination,
tokens: HashMap<TokenIdentifier, u64>
) -> Self
pub fn new_utxo<S: Into<WalletAlias>>(
alias: S,
value: Value,
discrimination: Discrimination,
tokens: HashMap<TokenIdentifier, u64>
) -> Self
pub fn new_external<S: Into<String>>(
address: S,
value: Value,
tokens: HashMap<TokenIdentifier, u64>
) -> Self
pub fn id(&self) -> String
pub fn alias(&self) -> Option<WalletAlias>
pub fn address(&self) -> Option<String>
pub fn discrimination(&self) -> Discrimination
pub fn wallet_type(&self) -> Option<WalletType>
pub fn value(&self) -> &Value
pub fn delegate(&self) -> &Option<NodeAlias>
pub fn delegate_mut(&mut self) -> &mut Option<NodeAlias>
pub fn tokens(&self) -> &HashMap<TokenIdentifier, u64>
Trait Implementations
sourceimpl Clone for WalletTemplate
impl Clone for WalletTemplate
sourcefn clone(&self) -> WalletTemplate
fn clone(&self) -> WalletTemplate
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for WalletTemplate
impl Debug for WalletTemplate
sourceimpl<'de> Deserialize<'de> for WalletTemplate
impl<'de> Deserialize<'de> for WalletTemplate
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
sourceimpl From<WalletTemplate> for Wallet
impl From<WalletTemplate> for Wallet
sourcefn from(template: WalletTemplate) -> Self
fn from(template: WalletTemplate) -> Self
sourceimpl Hash for WalletTemplate
impl Hash for WalletTemplate
sourceimpl PartialEq<WalletTemplate> for WalletTemplate
impl PartialEq<WalletTemplate> for WalletTemplate
sourcefn eq(&self, other: &WalletTemplate) -> bool
fn eq(&self, other: &WalletTemplate) -> bool
impl Eq for WalletTemplate
impl StructuralEq for WalletTemplate
impl StructuralPartialEq for WalletTemplate
Auto Trait Implementations
impl RefUnwindSafe for WalletTemplate
impl Send for WalletTemplate
impl Sync for WalletTemplate
impl Unpin for WalletTemplate
impl UnwindSafe for WalletTemplate
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
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Span
, returning an
diff --git a/main/06_rust_api/rust/hersir/config/struct.WalletTemplateBuilder.html b/main/06_rust_api/rust/hersir/config/struct.WalletTemplateBuilder.html
index 9967cb1c14..60f9568893 100644
--- a/main/06_rust_api/rust/hersir/config/struct.WalletTemplateBuilder.html
+++ b/main/06_rust_api/rust/hersir/config/struct.WalletTemplateBuilder.html
@@ -1,4 +1,4 @@
-Struct hersir::config::WalletTemplateBuilder
source · [−]pub struct WalletTemplateBuilder { /* private fields */ }
Implementations
sourceimpl WalletTemplateBuilder
impl WalletTemplateBuilder
pub fn new<S: Into<WalletAlias>>(alias: S) -> Self
pub fn with_alias<S: Into<WalletAlias>>(self, alias: S) -> Self
pub fn with_address<S: Into<String>>(self, address: S) -> Self
pub fn with(self, value: u64) -> Self
pub fn with_token(self, id: TokenIdentifier, amount: u64) -> Self
pub fn discrimination(self, discrimination: Discrimination) -> Self
pub fn delegated_to(self, delegated_to: &str) -> Self
pub fn build(self) -> WalletTemplate
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WalletTemplateBuilder
impl Send for WalletTemplateBuilder
impl Sync for WalletTemplateBuilder
impl Unpin for WalletTemplateBuilder
impl UnwindSafe for WalletTemplateBuilder
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+Struct hersir::config::WalletTemplateBuilder
source · [−]pub struct WalletTemplateBuilder { /* private fields */ }
Implementations
sourceimpl WalletTemplateBuilder
impl WalletTemplateBuilder
pub fn new<S: Into<WalletAlias>>(alias: S) -> Self
pub fn with_alias<S: Into<WalletAlias>>(self, alias: S) -> Self
pub fn with_address<S: Into<String>>(self, address: S) -> Self
pub fn with(self, value: u64) -> Self
pub fn with_token(self, id: TokenIdentifier, amount: u64) -> Self
pub fn discrimination(self, discrimination: Discrimination) -> Self
pub fn delegated_to(self, delegated_to: &str) -> Self
pub fn build(self) -> WalletTemplate
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WalletTemplateBuilder
impl Send for WalletTemplateBuilder
impl Sync for WalletTemplateBuilder
impl Unpin for WalletTemplateBuilder
impl UnwindSafe for WalletTemplateBuilder
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Enum hersir::controller::Error
source · [−]pub enum Error {
Show 21 variants
Node(NodeError),
- Wallet(WalletError),
+ Wallet(WalletError),
FsFixture(FixtureError),
Io(Error),
Reqwest(Error),
@@ -14,15 +14,15 @@
Startup(StartupError),
CannotSpawnNode(Error),
InteractiveCommand(InteractiveCommandError),
- FragmentSender(FragmentSenderError),
+ FragmentSender(FragmentSenderError),
Serialization(Error),
Legacy(LegacyConfigError),
SettingsWallet(Error),
Settings(Error),
NoExplorerConfigurationDefined,
-}
Variants
Node(NodeError)
Wallet(WalletError)
FsFixture(FixtureError)
Io(Error)
Reqwest(Error)
Explorer(ExplorerError)
BlockFormatError(ReadError)
BlockWriteError(WriteError)
NodeNotFound(String)
WalletNotFound(String)
StakePoolNotFound(String)
VotePlanNotFound(String)
Startup(StartupError)
CannotSpawnNode(Error)
InteractiveCommand(InteractiveCommandError)
FragmentSender(FragmentSenderError)
Serialization(Error)
Legacy(LegacyConfigError)
SettingsWallet(Error)
Settings(Error)
NoExplorerConfigurationDefined
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
+}Variants
Node(NodeError)
Wallet(WalletError)
FsFixture(FixtureError)
Io(Error)
Reqwest(Error)
Explorer(ExplorerError)
BlockFormatError(ReadError)
BlockWriteError(WriteError)
NodeNotFound(String)
WalletNotFound(String)
StakePoolNotFound(String)
VotePlanNotFound(String)
Startup(StartupError)
CannotSpawnNode(Error)
InteractiveCommand(InteractiveCommandError)
FragmentSender(FragmentSenderError)
Serialization(Error)
Legacy(LegacyConfigError)
SettingsWallet(Error)
Settings(Error)
NoExplorerConfigurationDefined
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: LegacyConfigError) -> Self
fn from(source: LegacyConfigError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: ControllerError) -> Self
fn from(source: ControllerError) -> Self
sourceimpl From<ExplorerError> for Error
impl From<ExplorerError> for Error
sourcefn from(source: ExplorerError) -> Self
fn from(source: ExplorerError) -> Self
sourceimpl From<InteractiveCommandError> for Error
impl From<InteractiveCommandError> for Error
sourcefn from(source: InteractiveCommandError) -> Self
fn from(source: InteractiveCommandError) -> Self
sourceimpl From<StartupError> for Error
impl From<StartupError> for Error
sourcefn from(source: StartupError) -> Self
fn from(source: StartupError) -> Self
sourceimpl From<WriteError> for Error
impl From<WriteError> for Error
sourcefn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: LegacyConfigError) -> Self
fn from(source: LegacyConfigError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: ControllerError) -> Self
fn from(source: ControllerError) -> Self
sourceimpl From<ExplorerError> for Error
impl From<ExplorerError> for Error
sourcefn from(source: ExplorerError) -> Self
fn from(source: ExplorerError) -> Self
sourceimpl From<FragmentSenderError> for Error
impl From<FragmentSenderError> for Error
sourcefn from(source: FragmentSenderError) -> Self
fn from(source: FragmentSenderError) -> Self
sourceimpl From<InteractiveCommandError> for Error
impl From<InteractiveCommandError> for Error
sourcefn from(source: InteractiveCommandError) -> Self
fn from(source: InteractiveCommandError) -> Self
sourceimpl From<StartupError> for Error
impl From<StartupError> for Error
sourcefn from(source: StartupError) -> Self
fn from(source: StartupError) -> Self
sourceimpl From<WalletError> for Error
impl From<WalletError> for Error
sourcefn from(source: WalletError) -> Self
fn from(source: WalletError) -> Self
sourceimpl From<WriteError> for Error
impl From<WriteError> for Error
sourcefn from(source: WriteError) -> Self
fn from(source: WriteError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Struct hersir::controller::interactive::UserInteractionController
source · [−]pub struct UserInteractionController { /* private fields */ }
Implementations
sourceimpl UserInteractionController
impl UserInteractionController
pub fn new(inner: Controller) -> Self
pub fn wallets(&self) -> &[Wallet]
pub fn wallets_mut(&mut self) -> &mut Vec<Wallet>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn nodes(&self) -> &[JormungandrProcess]
pub fn legacy_nodes(&self) -> &[JormungandrProcess]
pub fn legacy_nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn controller(&self) -> &Controller
pub fn controller_mut(&mut self) -> &mut Controller
pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>
pub fn tally_vote(
&mut self,
committee_alias: &str,
vote_plan_alias: &str,
node_alias: &str
) -> Result<MemPoolCheck, Error>
pub fn cast_vote(
&mut self,
wallet_alias: &str,
vote_plan_alias: &str,
node_alias: &str,
proposal_index: usize,
choice: u8
) -> Result<MemPoolCheck, Error>
pub fn send_transaction(
&mut self,
from_str: &str,
to_str: &str,
node_alias: &str,
value: Value
) -> Result<MemPoolCheck, Error>
pub fn spawn_node(
&mut self,
input_params: SpawnParams
) -> Result<JormungandrProcess, Error>
Auto Trait Implementations
impl !RefUnwindSafe for UserInteractionController
impl Send for UserInteractionController
impl !Sync for UserInteractionController
impl Unpin for UserInteractionController
impl !UnwindSafe for UserInteractionController
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+Struct hersir::controller::interactive::UserInteractionController
source · [−]pub struct UserInteractionController { /* private fields */ }
Implementations
sourceimpl UserInteractionController
impl UserInteractionController
pub fn new(inner: Controller) -> Self
pub fn wallets(&self) -> &[Wallet]
pub fn wallets_mut(&mut self) -> &mut Vec<Wallet>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn nodes(&self) -> &[JormungandrProcess]
pub fn legacy_nodes(&self) -> &[JormungandrProcess]
pub fn legacy_nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn controller(&self) -> &Controller
pub fn controller_mut(&mut self) -> &mut Controller
pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>
pub fn tally_vote(
&mut self,
committee_alias: &str,
vote_plan_alias: &str,
node_alias: &str
) -> Result<MemPoolCheck, Error>
pub fn cast_vote(
&mut self,
wallet_alias: &str,
vote_plan_alias: &str,
node_alias: &str,
proposal_index: usize,
choice: u8
) -> Result<MemPoolCheck, Error>
pub fn send_transaction(
&mut self,
from_str: &str,
to_str: &str,
node_alias: &str,
value: Value
) -> Result<MemPoolCheck, Error>
pub fn spawn_node(
&mut self,
input_params: SpawnParams
) -> Result<JormungandrProcess, Error>
Auto Trait Implementations
impl !RefUnwindSafe for UserInteractionController
impl Send for UserInteractionController
impl !Sync for UserInteractionController
impl Unpin for UserInteractionController
impl !UnwindSafe for UserInteractionController
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Struct hersir::controller::Controller
source · [−]pub struct Controller { /* private fields */ }
Implementations
sourceimpl Controller
impl Controller
pub fn new(
settings: Settings,
working_directory: TestingDirectory
) -> Result<Self, Error>
pub fn wallet(&mut self, wallet: &str) -> Option<Wallet>
pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>
pub fn controlled_wallets(&self) -> Vec<Wallet>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn working_directory(&self) -> &TestingDirectory
pub fn into_persistent(self) -> Self
pub fn block0_file(&self) -> PathBuf
pub fn settings(&self) -> &Settings
pub fn node_config(&self, alias: &str) -> Result<NodeConfig, Error>
pub fn stake_pool(&self, alias: &str) -> Result<&StakePool, Error>
pub fn node_settings(&self, alias: &str) -> Result<&NodeSetting, Error>
pub fn defined_wallets(
&self
) -> impl Iterator<Item = (WalletAlias, &WalletSettings)>
pub fn defined_nodes(&self) -> impl Iterator<Item = (&NodeAlias, &NodeSetting)>
pub fn defined_vote_plan(&self, alias: &str) -> Result<VotePlanDef, Error>
pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn spawn_explorer(&mut self) -> Result<ExplorerProcess, Error>
pub fn spawn_node_async(
&mut self,
alias: &str
) -> Result<JormungandrProcess, Error>
pub fn expect_spawn_failed(
&mut self,
spawn_params: SpawnParams,
expected_msg: &str
) -> Result<(), Error>
pub fn spawn(
&mut self,
spawn_params: SpawnParams
) -> Result<JormungandrProcess, Error>
pub fn make_starter_for(
&mut self,
spawn_params: SpawnParams
) -> Result<Starter, Error>
Trait Implementations
sourceimpl Clone for Controller
impl Clone for Controller
sourcefn clone(&self) -> Controller
fn clone(&self) -> Controller
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl From<MonitorController> for InnerController
impl From<MonitorController> for InnerController
sourcefn from(monitor: MonitorController) -> Self
fn from(monitor: MonitorController) -> Self
Auto Trait Implementations
impl RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl UnwindSafe for Controller
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+Struct hersir::controller::Controller
source · [−]pub struct Controller { /* private fields */ }
Implementations
sourceimpl Controller
impl Controller
pub fn new(
settings: Settings,
working_directory: TestingDirectory
) -> Result<Self, Error>
pub fn wallet(&mut self, wallet: &str) -> Option<Wallet>
pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>
pub fn controlled_wallets(&self) -> Vec<Wallet>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn working_directory(&self) -> &TestingDirectory
pub fn into_persistent(self) -> Self
pub fn block0_file(&self) -> PathBuf
pub fn settings(&self) -> &Settings
pub fn node_config(&self, alias: &str) -> Result<NodeConfig, Error>
pub fn stake_pool(&self, alias: &str) -> Result<&StakePool, Error>
pub fn node_settings(&self, alias: &str) -> Result<&NodeSetting, Error>
pub fn defined_wallets(
&self
) -> impl Iterator<Item = (WalletAlias, &WalletSettings)>
pub fn defined_nodes(&self) -> impl Iterator<Item = (&NodeAlias, &NodeSetting)>
pub fn defined_vote_plan(&self, alias: &str) -> Result<VotePlanDef, Error>
pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn spawn_explorer(&mut self) -> Result<ExplorerProcess, Error>
pub fn spawn_node_async(
&mut self,
alias: &str
) -> Result<JormungandrProcess, Error>
pub fn expect_spawn_failed(
&mut self,
spawn_params: SpawnParams,
expected_msg: &str
) -> Result<(), Error>
pub fn spawn(
&mut self,
spawn_params: SpawnParams
) -> Result<JormungandrProcess, Error>
pub fn make_starter_for(
&mut self,
spawn_params: SpawnParams
) -> Result<Starter, Error>
Trait Implementations
sourceimpl Clone for Controller
impl Clone for Controller
sourcefn clone(&self) -> Controller
fn clone(&self) -> Controller
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl From<MonitorController> for InnerController
impl From<MonitorController> for InnerController
sourcefn from(monitor: MonitorController) -> Self
fn from(monitor: MonitorController) -> Self
Auto Trait Implementations
impl RefUnwindSafe for Controller
impl Send for Controller
impl Sync for Controller
impl Unpin for Controller
impl UnwindSafe for Controller
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Struct hersir::controller::MonitorController
source · [−]pub struct MonitorController { /* private fields */ }
Implementations
sourceimpl MonitorController
impl MonitorController
pub fn new_with_progress_bar(
controller: InnerController,
session_settings: SessionSettings,
progress_bar: Arc<MultiProgress>
) -> Self
pub fn new(
controller: InnerController,
session_settings: SessionSettings
) -> Result<Self, Error>
pub fn stake_pool(&mut self, node_alias: &str) -> Result<StakePool, Error>
pub fn working_directory(&self) -> &TestingDirectory
pub fn block0_conf(&self) -> Block0Configuration
pub fn defined_wallets(
&self
) -> impl Iterator<Item = (WalletAlias, &WalletSetting)>
pub fn controlled_wallets(&mut self) -> Vec<Wallet>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn settings(&self) -> &Settings
pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn session_settings(&self) -> &SessionSettings
pub fn add_to_progress_bar(&mut self, pb: ProgressBar) -> ProgressBar
pub fn block0_file(&self) -> PathBuf
pub fn controlled_wallet(&self, wallet: &str) -> Result<Wallet, Error>
pub fn new_spawn_params(&self, node_alias: &str) -> SpawnParams
pub fn build_progress_bar(
&mut self,
alias: &str,
listen: SocketAddr
) -> ProgressBarController
pub fn spawn_node(
&mut self,
node_alias: &str,
leadership_mode: LeadershipMode,
persistence_mode: PersistenceMode
) -> Result<Node, Error>
pub fn spawn_node_custom(
&mut self,
input_params: SpawnParams
) -> Result<Node, Error>
pub fn spawn_legacy_node(
&mut self,
input_params: SpawnParams,
version: &Version
) -> Result<LegacyNode, Error>
pub fn monitor_nodes(&mut self)
pub fn finalize(self)
Trait Implementations
sourceimpl From<MonitorController> for InnerController
impl From<MonitorController> for InnerController
sourcefn from(monitor: MonitorController) -> Self
fn from(monitor: MonitorController) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for MonitorController
impl Send for MonitorController
impl Sync for MonitorController
impl Unpin for MonitorController
impl !UnwindSafe for MonitorController
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+Struct hersir::controller::MonitorController
source · [−]pub struct MonitorController { /* private fields */ }
Implementations
sourceimpl MonitorController
impl MonitorController
pub fn new_with_progress_bar(
controller: InnerController,
session_settings: SessionSettings,
progress_bar: Arc<MultiProgress>
) -> Self
pub fn new(
controller: InnerController,
session_settings: SessionSettings
) -> Result<Self, Error>
pub fn stake_pool(&mut self, node_alias: &str) -> Result<StakePool, Error>
pub fn working_directory(&self) -> &TestingDirectory
pub fn block0_conf(&self) -> Block0Configuration
pub fn defined_wallets(
&self
) -> impl Iterator<Item = (WalletAlias, &WalletSetting)>
pub fn controlled_wallets(&mut self) -> Vec<Wallet>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn settings(&self) -> &Settings
pub fn defined_vote_plans(&self) -> Vec<VotePlanDef>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn session_settings(&self) -> &SessionSettings
pub fn add_to_progress_bar(&mut self, pb: ProgressBar) -> ProgressBar
pub fn block0_file(&self) -> PathBuf
pub fn controlled_wallet(&self, wallet: &str) -> Result<Wallet, Error>
pub fn new_spawn_params(&self, node_alias: &str) -> SpawnParams
pub fn build_progress_bar(
&mut self,
alias: &str,
listen: SocketAddr
) -> ProgressBarController
pub fn spawn_node(
&mut self,
node_alias: &str,
leadership_mode: LeadershipMode,
persistence_mode: PersistenceMode
) -> Result<Node, Error>
pub fn spawn_node_custom(
&mut self,
input_params: SpawnParams
) -> Result<Node, Error>
pub fn spawn_legacy_node(
&mut self,
input_params: SpawnParams,
version: &Version
) -> Result<LegacyNode, Error>
pub fn monitor_nodes(&mut self)
pub fn finalize(self)
Trait Implementations
sourceimpl From<MonitorController> for InnerController
impl From<MonitorController> for InnerController
sourcefn from(monitor: MonitorController) -> Self
fn from(monitor: MonitorController) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for MonitorController
impl Send for MonitorController
impl Sync for MonitorController
impl Unpin for MonitorController
impl !UnwindSafe for MonitorController
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Struct hersir::controller::UserInteractionController
source · [−]pub struct UserInteractionController { /* private fields */ }
Implementations
sourceimpl UserInteractionController
impl UserInteractionController
pub fn new(inner: Controller) -> Self
pub fn wallets(&self) -> &[Wallet]
pub fn wallets_mut(&mut self) -> &mut Vec<Wallet>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn nodes(&self) -> &[JormungandrProcess]
pub fn legacy_nodes(&self) -> &[JormungandrProcess]
pub fn legacy_nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn controller(&self) -> &Controller
pub fn controller_mut(&mut self) -> &mut Controller
pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>
pub fn tally_vote(
&mut self,
committee_alias: &str,
vote_plan_alias: &str,
node_alias: &str
) -> Result<MemPoolCheck, Error>
pub fn cast_vote(
&mut self,
wallet_alias: &str,
vote_plan_alias: &str,
node_alias: &str,
proposal_index: usize,
choice: u8
) -> Result<MemPoolCheck, Error>
pub fn send_transaction(
&mut self,
from_str: &str,
to_str: &str,
node_alias: &str,
value: Value
) -> Result<MemPoolCheck, Error>
pub fn spawn_node(
&mut self,
input_params: SpawnParams
) -> Result<JormungandrProcess, Error>
Auto Trait Implementations
impl !RefUnwindSafe for UserInteractionController
impl Send for UserInteractionController
impl !Sync for UserInteractionController
impl Unpin for UserInteractionController
impl !UnwindSafe for UserInteractionController
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+Struct hersir::controller::UserInteractionController
source · [−]pub struct UserInteractionController { /* private fields */ }
Implementations
sourceimpl UserInteractionController
impl UserInteractionController
pub fn new(inner: Controller) -> Self
pub fn wallets(&self) -> &[Wallet]
pub fn wallets_mut(&mut self) -> &mut Vec<Wallet>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn nodes(&self) -> &[JormungandrProcess]
pub fn legacy_nodes(&self) -> &[JormungandrProcess]
pub fn legacy_nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn nodes_mut(&mut self) -> &mut Vec<JormungandrProcess>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
pub fn controller(&self) -> &Controller
pub fn controller_mut(&mut self) -> &mut Controller
pub fn controlled_wallet(&self, wallet: &str) -> Option<Wallet>
pub fn tally_vote(
&mut self,
committee_alias: &str,
vote_plan_alias: &str,
node_alias: &str
) -> Result<MemPoolCheck, Error>
pub fn cast_vote(
&mut self,
wallet_alias: &str,
vote_plan_alias: &str,
node_alias: &str,
proposal_index: usize,
choice: u8
) -> Result<MemPoolCheck, Error>
pub fn send_transaction(
&mut self,
from_str: &str,
to_str: &str,
node_alias: &str,
value: Value
) -> Result<MemPoolCheck, Error>
pub fn spawn_node(
&mut self,
input_params: SpawnParams
) -> Result<JormungandrProcess, Error>
Auto Trait Implementations
impl !RefUnwindSafe for UserInteractionController
impl Send for UserInteractionController
impl !Sync for UserInteractionController
impl Unpin for UserInteractionController
impl !UnwindSafe for UserInteractionController
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Variants
MonitorNode(NodeError)
InteractiveCommand(InteractiveCommandError)
Controller(ControllerError)
Verification(VerificationError)
FragmentVerifier(FragmentVerifierError)
ConsumptionBenchmark(ConsumptionBenchmarkError)
Explorer(ExplorerError)
FragmentSender(FragmentSenderError)
Rest(RestError)
IO(Error)
Serialization(Error)
CircularTrust
Internal(String)
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
+}Variants
MonitorNode(NodeError)
InteractiveCommand(InteractiveCommandError)
Controller(ControllerError)
Verification(VerificationError)
FragmentVerifier(FragmentVerifierError)
ConsumptionBenchmark(ConsumptionBenchmarkError)
Explorer(ExplorerError)
FragmentSender(FragmentSenderError)
Rest(RestError)
IO(Error)
Serialization(Error)
CircularTrust
Internal(String)
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<ConsumptionBenchmarkError> for Error
impl From<ConsumptionBenchmarkError> for Error
sourcefn from(source: ConsumptionBenchmarkError) -> Self
fn from(source: ConsumptionBenchmarkError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: ControllerError) -> Self
fn from(source: ControllerError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: VerificationError) -> Self
fn from(source: VerificationError) -> Self
sourceimpl From<ExplorerError> for Error
impl From<ExplorerError> for Error
sourcefn from(source: ExplorerError) -> Self
fn from(source: ExplorerError) -> Self
sourceimpl From<InteractiveCommandError> for Error
impl From<InteractiveCommandError> for Error
sourcefn from(source: InteractiveCommandError) -> Self
fn from(source: InteractiveCommandError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
sourceimpl From<ConsumptionBenchmarkError> for Error
impl From<ConsumptionBenchmarkError> for Error
sourcefn from(source: ConsumptionBenchmarkError) -> Self
fn from(source: ConsumptionBenchmarkError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: ControllerError) -> Self
fn from(source: ControllerError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: VerificationError) -> Self
fn from(source: VerificationError) -> Self
sourceimpl From<ExplorerError> for Error
impl From<ExplorerError> for Error
sourcefn from(source: ExplorerError) -> Self
fn from(source: ExplorerError) -> Self
sourceimpl From<FragmentSenderError> for Error
impl From<FragmentSenderError> for Error
sourcefn from(source: FragmentSenderError) -> Self
fn from(source: FragmentSenderError) -> Self
sourceimpl From<FragmentVerifierError> for Error
impl From<FragmentVerifierError> for Error
sourcefn from(source: FragmentVerifierError) -> Self
fn from(source: FragmentVerifierError) -> Self
sourceimpl From<InteractiveCommandError> for Error
impl From<InteractiveCommandError> for Error
sourcefn from(source: InteractiveCommandError) -> Self
fn from(source: InteractiveCommandError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Function iapyx::expiry::default_block_date_generator
source · [−]pub fn default_block_date_generator(
block0_settings: &SettingsDto
) -> BlockDateGenerator
Expand description
Creates BlockDateGenerator
object based on settings
Function iapyx::expiry::default_block_date_generator
source · [−]pub fn default_block_date_generator(
block0_settings: &SettingsDto
) -> BlockDateGenerator
Expand description
Creates BlockDateGenerator
object based on settings
Function iapyx::expiry::from_block_or_shift
source · [−]pub fn from_block_or_shift(
valid_until_fixed: Option<BlockDate>,
valid_until_shift: Option<BlockDate>,
block0_settings: &SettingsDto
) -> BlockDateGenerator
Expand description
Creates BlockDateGenerator
object based on setup
Function iapyx::expiry::from_block_or_shift
source · [−]pub fn from_block_or_shift(
valid_until_fixed: Option<BlockDate>,
valid_until_shift: Option<BlockDate>,
block0_settings: &SettingsDto
) -> BlockDateGenerator
Expand description
Creates BlockDateGenerator
object based on setup
Expand description
Responsible for all wallet operations from voting to retrieving information about proposals or voting power
Fields
backend: ValgrindClient
Catalyst backend client
wallet: Wallet
Wallet state
settings: Settings
Cached blockchain settings
-block_date_generator: BlockDateGenerator
Expiry date generator
+block_date_generator: BlockDateGenerator
Expiry date generator
Implementations
sourceimpl Controller
impl Controller
sourcepub fn switch_backend(
&mut self,
proxy_address: String,
backend_settings: RestSettings
) -> Result<(), ControllerError>
pub fn switch_backend(
&mut self,
proxy_address: String,
backend_settings: RestSettings
) -> Result<(), ControllerError>
sourcepub fn set_block_date_generator(
&mut self,
block_date_generator: BlockDateGenerator
)
pub fn set_block_date_generator(
&mut self,
block_date_generator: BlockDateGenerator
)
Sets transaction ttl definition. Usually when we are sending some fragments we need to define how long +
sourcepub fn set_block_date_generator(
&mut self,
block_date_generator: BlockDateGenerator
)
pub fn set_block_date_generator(
&mut self,
block_date_generator: BlockDateGenerator
)
Sets transaction ttl definition. Usually when we are sending some fragments we need to define how long
we want to wait until it will be put in block. BlockDateGenerator
helps us define ttl without calculating
it each time
sourcepub fn send_fragments(
&self,
transaction: Vec<Vec<u8>>
) -> Result<Vec<FragmentId>, ControllerError>
pub fn send_fragments(
&self,
transaction: Vec<Vec<u8>>
) -> Result<Vec<FragmentId>, ControllerError>
Sends collection of raw transaction bytes
diff --git a/main/06_rust_api/rust/implementors/core/convert/trait.From.js b/main/06_rust_api/rust/implementors/core/convert/trait.From.js index 71a796a724..49d655fe07 100644 --- a/main/06_rust_api/rust/implementors/core/convert/trait.From.js +++ b/main/06_rust_api/rust/implementors/core/convert/trait.From.js @@ -14,17 +14,17 @@ "explorer":[["impl From<StakeDelegation> for Certificate"],["impl From<OwnerStakeDelegation> for Certificate"],["impl From<PoolRegistration> for Certificate"],["impl From<PoolRetirement> for Certificate"],["impl From<PoolUpdate> for Certificate"],["impl From<VotePlan> for Certificate"],["impl From<VoteCast> for Certificate"],["impl From<VoteTally> for Certificate"],["impl From<UpdateProposal> for Certificate"],["impl From<UpdateVote> for Certificate"],["impl From<MintToken> for Certificate"],["impl From<EvmMapping> for Certificate"],["impl From<Certificate> for Certificate"],["impl From<StakeDelegation> for StakeDelegation"],["impl From<OwnerStakeDelegation> for OwnerStakeDelegation"],["impl From<PoolRegistration> for PoolRegistration"],["impl From<PoolRetirement> for PoolRetirement"],["impl From<PoolUpdate> for PoolUpdate"],["impl From<VotePlan> for VotePlan"],["impl From<VoteCast> for VoteCast"],["impl From<UpdateProposal> for UpdateProposal"],["impl From<UpdateVote> for UpdateVote"],["impl From<EvmMapping> for EvmMapping"],["impl From<&Block0Date> for Block0Date"],["impl From<DiscriminationEnum> for Value"],["impl From<&Discrimination> for Discrimination"],["impl From<ConsensusTypeEnum> for Value"],["impl From<&ConsensusType> for ConsensusType"],["impl From<&u32> for SlotsPerEpoch"],["impl From<&u8> for SlotDuration"],["impl From<&u32> for EpochStabilityDepth"],["impl From<&Milli> for Milli"],["impl From<&u32> for BlockContentMaxSize"],["impl From<&BftLeaderId> for AddBftLeader"],["impl From<&BftLeaderId> for RemoveBftLeader"],["impl From<&PerCertificateFee> for PerCertificateFee"],["impl From<&PerVoteCertificateFee> for PerVoteCertificateFee"],["impl From<&LinearFee> for LinearFee"],["impl From<&u32> for ProposalExpiration"],["impl From<&u32> for KesUpdateSpeed"],["impl From<&Value> for TreasuryAdd"],["impl From<&TaxType> for TreasuryParams"],["impl From<&Value> for RewardPot"],["impl From<LinearRewardParams> for RewardParamsUnion"],["impl From<HalvingRewardParams> for RewardParamsUnion"],["impl From<&RewardParams> for RewardParams"],["impl From<&bool> for FeesInTreasury"],["impl From<&Ratio> for RewardLimitByAbsoluteStake"],["impl From<&(NonZeroU32, NonZeroU32)> for PoolRewardParticipationCapping"],["impl From<&CommitteeId> for AddCommitteeId"],["impl From<&CommitteeId> for RemoveCommitteeId"],["impl From<&u8> for TransactionMaxExpiryEpochs"],["impl From<Block0Date> for ConfigParam"],["impl From<Discrimination> for ConfigParam"],["impl From<ConsensusType> for ConfigParam"],["impl From<SlotsPerEpoch> for ConfigParam"],["impl From<SlotDuration> for ConfigParam"],["impl From<EpochStabilityDepth> for ConfigParam"],["impl From<Milli> for ConfigParam"],["impl From<BlockContentMaxSize> for ConfigParam"],["impl From<AddBftLeader> for ConfigParam"],["impl From<RemoveBftLeader> for ConfigParam"],["impl From<LinearFee> for ConfigParam"],["impl From<ProposalExpiration> for ConfigParam"],["impl From<KesUpdateSpeed> for ConfigParam"],["impl From<TreasuryAdd> for ConfigParam"],["impl From<TreasuryParams> for ConfigParam"],["impl From<RewardPot> for ConfigParam"],["impl From<RewardParams> for ConfigParam"],["impl From<PerCertificateFee> for ConfigParam"],["impl From<FeesInTreasury> for ConfigParam"],["impl From<RewardLimitNone> for ConfigParam"],["impl From<RewardLimitByAbsoluteStake> for ConfigParam"],["impl From<PoolRewardParticipationCapping> for ConfigParam"],["impl From<AddCommitteeId> for ConfigParam"],["impl From<RemoveCommitteeId> for ConfigParam"],["impl From<PerVoteCertificateFee> for ConfigParam"],["impl From<TransactionMaxExpiryEpochs> for ConfigParam"],["impl From<&ConfigParam> for ConfigParam"],["impl From<&ConfigParams> for ConfigParams"],["impl From<PayloadType> for Value"],["impl From<&PublicKey<Ed25519>> for PublicKey"],["impl From<TimeOffsetSeconds> for TimeOffsetSeconds"],["impl From<u32> for IndexCursor"],["impl From<IndexCursor> for String"],["impl From<DigestOf<Blake2b256, VotePlan>> for VotePlanId"],["impl From<PayloadType> for PayloadType"],["impl From<Options> for VoteOptionRange"],["impl From<u64> for IndexCursor"],["impl From<ChainLength> for IndexCursor"],["impl From<DigestOf<Blake2b256, ExternalProposalDocument>> for ExternalProposalId"],["impl<T: Borrow<Weight>> From<T> for Weight"],["impl From<u64> for VotePlanCount"],["impl From<u32> for VotePlanCount"],["impl From<u64> for VoteStatusCount"],["impl From<u64> for Value"],["impl From<BftLeaderId> for BftLeader"],["impl From<Pool> for Leader"],["impl From<BftLeader> for Leader"],["impl From<Arc<ExplorerBlock>> for Block"],["impl From<BlockDate> for BlockDate"],["impl From<&ExplorerAddress> for Address"],["impl From<VotePayloadPublicStatus> for VotePayloadStatus"],["impl From<VotePayloadPrivateStatus> for VotePayloadStatus"],["impl From<TallyPublicStatus> for TallyStatus"],["impl From<TallyPrivateStatus> for TallyStatus"],["impl From<ExplorerVoteTally> for TallyStatus"],["impl From<BlockNotFound> for ExplorerError"],["impl From<Error> for IndexerError"],["impl From<Error> for IndexerError"],["impl From<Error> for IndexerError"],["impl From<ParseError> for IndexerError"],["impl From<ExplorerError> for IndexerError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<IndexerError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<BootstrapError> for Error"]], "explorer_client":[["impl From<ExplorerError> for Error"],["impl From<Error> for Error"]], "hdkeygen":[["impl From<[u8; 32]> for AccountId"],["impl From<AccountId> for PublicKey<Ed25519>"]], -"hersir":[["impl From<Wallet> for Inner"],["impl From<WalletTemplate> for Wallet"],["impl From<Error> for Error"],["impl From<WalletError> for Error"],["impl From<FixtureError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ExplorerError> for Error"],["impl From<ReadError> for Error"],["impl From<WriteError> for Error"],["impl From<StartupError> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ReadError> for Error"],["impl From<RestError> for Error"],["impl From<ScanError> for Error"],["impl From<MockClientError> for Error"],["impl From<StartupError> for Error"],["impl From<MonitorController> for InnerController"],["impl From<Error> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<ExplorerError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<RestError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"]], +"hersir":[["impl From<Wallet> for Inner"],["impl From<WalletTemplate> for Wallet"],["impl From<Error> for Error"],["impl From<WalletError> for Error"],["impl From<FixtureError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ExplorerError> for Error"],["impl From<ReadError> for Error"],["impl From<WriteError> for Error"],["impl From<StartupError> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ReadError> for Error"],["impl From<RestError> for Error"],["impl From<ScanError> for Error"],["impl From<MockClientError> for Error"],["impl From<StartupError> for Error"],["impl From<MonitorController> for InnerController"],["impl From<Error> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<ExplorerError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<RestError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"]], "iapyx":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for ControllerError"],["impl From<Error> for ControllerError"],["impl From<Error> for ControllerError"],["impl From<RestError> for ControllerError"],["impl From<ParseAccountIdentifierError> for ControllerError"],["impl From<Error> for ControllerError"],["impl From<MultiController> for Vec<Wallet>"],["impl From<Error> for MultiControllerError"],["impl From<Error> for MultiControllerError"],["impl From<ControllerError> for MultiControllerError"],["impl From<Error> for MultiControllerError"],["impl From<Error> for MultiControllerError"],["impl From<Error> for MultiControllerError"],["impl From<Error> for MultiControllerError"],["impl From<RestError> for Error"],["impl From<MultiControllerError> for Error"],["impl From<MultiControllerError> for Error"],["impl From<RestError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<KeyQrCodeError> for Error"],["impl From<ImageError> for Error"],["impl From<BadPinError> for Error"],["impl From<Error> for Error"]], "iapyx_load":[["impl From<Error> for IapyxLoadCommandError"],["impl From<MultiControllerError> for IapyxLoadCommandError"],["impl From<Error> for IapyxLoadCommandError"],["impl From<Error> for IapyxLoadCommandError"],["impl From<Error> for IapyxLoadCommandError"],["impl From<Error> for IapyxLoadCommandError"]], -"integration_tests":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<ControllerError> for Error"]], +"integration_tests":[["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<ControllerError> for Error"]], "jcli_lib":[["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<CertificateFromStrError> for Error"],["impl From<CertificateFromBech32Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VotePlanError> for Error"],["impl From<SharesError> for Error"],["impl From<DecryptedPrivateTallyError> for Error"],["impl From<UnitVectorInitializationError> for Error"],["impl From<Error> for Error"],["impl From<FromHexError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FromHexError> for Error"],["impl From<SecretKeyError> for Error"],["impl From<PublicKeyError> for Error"],["impl From<SignatureError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<DerivationError> for Error"],["impl From<ReadError> for Error"],["impl From<WriteError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FromHexError> for Error"],["impl From<Error> for Error"],["impl From<ReadYamlError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ValueError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FromHexError> for Error"],["impl From<DecodeError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TallyError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VotePlanError> for Error"],["impl From<SharesError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for ReadYamlError"],["impl From<Error> for ReadYamlError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<PathBuf> for OutputFile"],["impl From<FormatVariant> for OutputFormat"],["impl<'a> From<&'a str> for FormatVariant"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<GtmplError> for Error"],["impl From<Error> for VotePlanError"],["impl From<Error> for VotePlanError"],["impl From<Error> for SharesError"],["impl From<Error> for SharesError"],["impl From<DecryptionError> for SharesError"],["impl From<Vec<TallyDecryptShare, Global>> for MemberVotePlanShares"],["impl From<Error> for Error"]], "jormungandr":[["impl From<Error> for Block0Error"],["impl From<Block0Malformed> for Block0Error"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<SendError> for Error"],["impl From<TrySendError<TransactionMsg>> for Error"],["impl From<Checkpoints> for Vec<HeaderHash>"],["impl From<Error> for Error"],["impl From<Canceled> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<LedgerError> for Error"],["impl From<Box<TrySendError<TransactionMsg>, Global>> for Error"],["impl From<Box<Error, Global>> for Error"],["impl From<Box<Error, Global>> for Error"],["impl From<Error> for Error"],["impl From<PublicKeyFromStrError> for Error"],["impl From<Error> for Error"],["impl From<TrySendError<TransactionMsg>> for Error"],["impl From<SendError> for Error"],["impl From<ValueError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FromHexError> for Error"],["impl From<FromConfigParamError> for Error"],["impl From<Error> for NodeSecretFromFileError"],["impl From<Error> for NodeSecretFromFileError"],["impl From<Error> for PeerResolveError"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ParseError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Box<Error, Global>> for Error"],["impl From<Block0Error> for Error"],["impl From<FetchBlockError> for Error"],["impl From<NodeSecretFromFileError> for Error"],["impl From<ServiceError> for Error"],["impl From<DiagnosticError> for Error"],["impl From<Error> for Error"],["impl From<Gossip> for Gossip"],["impl From<Gossip> for Gossip"],["impl From<Vec<Gossip, Global>> for Gossips"],["impl From<Gossips> for Vec<Gossip>"],["impl From<Vec<Gossip, Global>> for Gossips"],["impl From<Identifier<Ed25519>> for NodeId"],["impl From<NodeId> for NodeId"],["impl From<Gossip> for PeerInfo"],["impl From<Error> for Error"],["impl<T> From<TrySendError<T>> for Error"]], "jormungandr_automation":[["impl From<KeyPair<Ed25519>> for SecretModelFactory"],["impl From<Error> for ExplorerError"],["impl From<Error> for ExplorerError"],["impl From<Error> for FragmentNodeError"],["impl From<Hash> for MemPoolCheck"],["impl From<Error> for Error"],["impl From<FixtureError> for Error"],["impl From<NodeState> for Status"],["impl From<JormungandrError> for ShutdownError"],["impl From<Error> for ShutdownError"],["impl From<Error> for RestError"],["impl From<Error> for RestError"],["impl From<Error> for RestError"],["impl From<Error> for RestError"],["impl From<ReadError> for RestError"],["impl From<PathBuf> for TestingDirectory"],["impl From<Option<PathBuf>> for TestingDirectory"],["impl From<ProcessError> for StartupError"],["impl From<FixtureError> for StartupError"],["impl From<Error> for StartupError"],["impl From<JormungandrError> for StartupError"],["impl From<Error> for StartupError"],["impl From<RestError> for StartupError"],["impl From<ConsensusType> for ProtocolVersion"],["impl From<Error> for SyncNodeError"],["impl From<MeasurementReportInterval> for u32"],["impl From<SyncWaitParams> for Thresholds<Speed>"],["impl From<Error> for Block0Error"],["impl From<Block0ConfigurationError> for Block0Error"],["impl From<Error> for Block0Error"],["impl From<WriteError> for Block0Error"],["impl From<ReadError> for Block0Error"],["impl From<Error> for Block0Error"],["impl From<Error> for Block0Error"],["impl From<Error> for Block0Error"],["impl From<Error> for Block0Error"],["impl From<StakePool> for StakePoolLib"]], "jormungandr_integration_tests":[["impl From<Version> for LegacySingleNodeTestBootstrapper"]], "jormungandr_lib":[["impl From<Error> for SigningKeyParseError"],["impl From<Error> for SigningKeyParseError"],["impl From<SecretKey<Ed25519>> for SigningKey"],["impl From<SecretKey<Ed25519Extended>> for SigningKey"],["impl From<PublicKey<Ed25519>> for Identifier"],["impl From<Identifier> for Identifier"],["impl From<Identifier<Ed25519>> for Identifier"],["impl From<Blake2b256> for Hash"],["impl From<Hash> for Blake2b256"],["impl From<Hash> for Hash"],["impl From<Hash> for Hash"],["impl From<[u8; 32]> for Hash"],["impl<T> From<DigestOf<Blake2b256, T>> for Hash"],["impl<T> From<Hash> for DigestOf<Blake2b256, T>"],["impl From<Hash> for [u8; 32]"],["impl<A: AsymmetricKey> From<SecretKey<A>> for SigningKey<A>"],["impl<A: AsymmetricKey> From<SigningKey<A>> for SecretKey<A>"],["impl<A: AsymmetricPublicKey> From<PublicKey<A>> for Identifier<A>"],["impl<T, A: VerificationAlgorithm> From<Signature<T, A>> for Signature<T, A>"],["impl From<Error> for ParseAccountIdentifierError"],["impl From<AccountIdentifier> for AccountIdentifier"],["impl From<AccountIdentifier> for AccountIdentifier"],["impl From<UnspecifiedAccountIdentifier> for AccountIdentifier"],["impl<E> From<AccountState<E>> for AccountState"],["impl<'a, E> From<&'a AccountState<E>> for AccountState"],["impl From<Address> for Address"],["impl From<Address> for Address"],["impl From<ActiveSlotCoefficient> for ConfigParam"],["impl From<u32> for BlockContentMaxSize"],["impl From<BlockContentMaxSize> for BlockContentSize"],["impl From<u32> for EpochStabilityDepth"],["impl From<EpochStabilityDepth> for u32"],["impl From<FeesGoTo> for ConfigParam"],["impl From<BlockchainConfiguration> for ConfigParams"],["impl From<InitialUTxO> for Destination"],["impl From<KesUpdateSpeed> for ConfigParam"],["impl From<ConsensusLeaderId> for ConfigParam"],["impl From<Identifier<Ed25519>> for ConsensusLeaderId"],["impl From<PublicKey<Ed25519>> for ConsensusLeaderId"],["impl From<BftLeaderId> for ConsensusLeaderId"],["impl From<ConsensusLeaderId> for BftLeaderId"],["impl From<NumberOfSlotsPerEpoch> for ConfigParam"],["impl From<NumberOfSlotsPerEpoch> for u32"],["impl From<u32> for ProposalExpiration"],["impl From<ProposalExpiration> for u32"],["impl From<SlotDuration> for ConfigParam"],["impl From<SlotDuration> for u8"],["impl From<BlockDate> for BlockDate"],["impl From<BlockDate> for BlockDate"],["impl From<WriteError> for CertificateToBech32Error"],["impl From<Error> for CertificateToBech32Error"],["impl From<Error> for CertificateFromBech32Error"],["impl From<ReadError> for CertificateFromBech32Error"],["impl From<CertificateFromBech32Error> for CertificateFromStrError"],["impl From<Error> for CertificateFromStrError"],["impl From<Certificate> for Certificate"],["impl From<Certificate> for Certificate"],["impl From<SignedCertificate> for SignedCertificate"],["impl From<SignedCertificate> for SignedCertificate"],["impl From<CommitteeIdDef> for CommitteeId"],["impl From<CommitteeId> for CommitteeIdDef"],["impl From<[u8; 32]> for CommitteeIdDef"],["impl From<usize> for PoolMaxEntries"],["impl From<PoolMaxEntries> for usize"],["impl From<usize> for LogMaxEntries"],["impl From<LogMaxEntries> for usize"],["impl From<String> for CorsOrigin"],["impl From<TryFromNumberOfSlotsPerEpochError> for FromConfigParamError"],["impl From<TryFromSlotDurationError> for FromConfigParamError"],["impl From<TryFromFeesGoToError> for FromConfigParamError"],["impl From<TryFromActiveSlotCoefficientError> for FromConfigParamError"],["impl From<TryFromKesUpdateSpeedError> for FromConfigParamError"],["impl From<ConfigParams> for ConfigParamsLib"],["impl From<ConfigParam> for ConfigParamLib"],["impl From<EvmTransaction> for EvmTransaction"],["impl From<EvmTransaction> for EvmTransaction"],["impl From<Fragment> for FragmentDef"],["impl From<FragmentDef> for Fragment"],["impl From<TokenIdentifier> for TokenIdentifier"],["impl From<TokenIdentifier> for TokenIdentifier"],["impl From<Addr> for OldAddress"],["impl From<OldAddress> for Addr"],["impl From<ParseIntError> for ParseRatioError"],["impl From<Ratio> for Ratio"],["impl From<Ratio> for Ratio"],["impl From<RewardParams> for RewardParamsStd"],["impl From<RewardParams> for RewardParams"],["impl From<Stake> for Stake"],["impl From<Stake> for Stake"],["impl From<u64> for Stake"],["impl From<Stake> for u64"],["impl From<TaxType> for TaxType"],["impl From<TaxType> for TaxType"],["impl From<TimeEraDef> for TimeEra"],["impl From<TransactionInput> for Input"],["impl From<Input> for TransactionInput"],["impl From<Output<Address>> for TransactionOutput"],["impl From<TransactionOutput> for Output<Address>"],["impl From<Witness> for TransactionWitness"],["impl From<TransactionWitness> for Witness"],["impl<'a> From<Entry<'a, Address>> for UTxOInfo"],["impl From<Value> for Value"],["impl From<Value> for Value"],["impl From<u64> for Value"],["impl From<Value> for u64"],["impl From<PayloadType> for VotePrivacy"],["impl From<VotePrivacy> for PayloadType"],["impl From<VotePlan> for VotePlan"],["impl From<VotePlan> for VotePlan"],["impl From<Payload> for VotePayload"],["impl From<TallyResult> for TallyResult"],["impl From<Tally> for TallyResult"],["impl From<TallyResult> for TallyResult"],["impl From<Tally> for Tally"],["impl From<Tally> for Tally"],["impl From<VoteProposalStatus> for VoteProposalStatus"],["impl From<VoteProposalStatus> for VoteProposalStatus"],["impl From<VotePlanStatus> for VotePlanStatus"],["impl From<VotePlanStatus> for VotePlanStatus"],["impl From<SystemTime> for SystemTime"],["impl From<SystemTime> for SystemTime"],["impl From<SystemTime> for SecondsSinceUnixEpoch"],["impl From<Duration> for Duration"],["impl From<Duration> for Duration"],["impl From<SecondsSinceUnixEpoch> for SystemTime"],["impl From<SystemTime> for SecondsSinceUnixEpoch"]], "jortestkit":[["impl From<Error> for DecompressError"],["impl From<ZipError> for DecompressError"],["impl From<Error> for InteractiveCommandError"],["impl From<Error> for GitHubApiError"],["impl From<FromHexError> for GitHubApiError"],["impl From<WebError> for GitHubApiError"],["impl From<Error> for GitHubApiError"],["impl<T> From<T> for RayonWrapper<T>"],["impl From<Duration> for Endurance"],["impl From<Endurance> for Duration"],["impl From<Duration> for Speed"],["impl From<u32> for Counter"],["impl From<SystemTime> for Timestamp"],["impl From<Duration> for Wait"],["impl From<&[u8]> for APIToken"],["impl From<DecodeError> for TokenError"],["impl From<Error> for WebError"],["impl From<Error> for WebError"]], -"loki":[["impl From<Error> for Error"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<FragmentBuilderError> for AdversaryFragmentSenderError"],["impl From<FragmentNodeError> for AdversaryFragmentSenderError"],["impl From<FragmentVerifierError> for AdversaryFragmentSenderError"],["impl From<FragmentExporterError> for AdversaryFragmentSenderError"],["impl From<SyncNodeError> for AdversaryFragmentSenderError"]], +"loki":[["impl From<Error> for Error"],["impl From<ReadError> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<FragmentBuilderError> for AdversaryFragmentSenderError"],["impl From<FragmentNodeError> for AdversaryFragmentSenderError"],["impl From<FragmentVerifierError> for AdversaryFragmentSenderError"],["impl From<FragmentExporterError> for AdversaryFragmentSenderError"],["impl From<SyncNodeError> for AdversaryFragmentSenderError"]], "mainnet_lib":[["impl From<Error> for Error"],["impl From<JsonConversionError> for Error"],["impl From<JsError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<PublicKeyFromStrError> for Error"],["impl From<JsError> for Error"],["impl From<Error> for JsonConversionError"],["impl From<JsError> for JsonConversionError"]], "mainnet_tools":[["impl From<TryFromIntError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"]], "mjolnir":[["impl From<MjolnirError> for ClientLoadCommandError"],["impl From<RestError> for MjolnirError"],["impl From<StartupError> for MjolnirError"],["impl From<JormungandrError> for MjolnirError"],["impl From<Block0Error> for MjolnirError"],["impl From<MjolnirError> for ExplorerLoadCommandError"],["impl From<MjolnirError> for FragmentLoadCommandError"],["impl From<MjolnirError> for RestLoadCommandError"]], @@ -40,7 +40,7 @@ "vit_servicing_station_lib":[["impl From<&Goal> for InsertGoal"],["impl From<LogLevel> for LevelFilter"],["impl From<LogLevel> for LevelFilter"],["impl From<&[u8]> for ApiToken"],["impl From<Error> for HandleError"]], "vit_servicing_station_server":[["impl From<Error> for ConfigTracingError"],["impl From<TryInitError> for ConfigTracingError"],["impl From<TraceError> for ConfigTracingError"]], "vit_servicing_station_tests":[["impl From<&ServiceSettings> for RestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<FundDates> for FundInfo"],["impl From<VotePlanDef> for SingleVotePlanParameters"],["impl From<CurrentFund> for ValidVotePlanParameters"],["impl From<Error> for TemplateLoad"],["impl From<Error> for DbInserterError"],["impl From<RawSnapshot> for RepsVotersAssigner"],["impl From<RawSnapshot> for RawSnapshotUpdater"],["impl From<SnapshotInfo> for VotingPower"],["impl From<Snapshot> for SnapshotUpdater"],["impl From<VarError> for DbBuilderError"],["impl From<DbInserterError> for DbBuilderError"],["impl From<ConnectionError> for DbBuilderError"],["impl From<RunMigrationsError> for DbBuilderError"],["impl From<Error> for ServerBootstrapperError"],["impl From<CargoError> for ServerBootstrapperError"],["impl From<DbBuilderError> for ServerBootstrapperError"]], -"vitup":[["impl From<ParseError> for Error"],["impl From<&TempDir> for DeploymentTree"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ParseFloatError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<JoinError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VitupRest> for VitupDisruptionRestClient"],["impl From<VitupRest> for VitupAdminRestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VoteBlockchainTime> for VoteTime"],["impl From<Error> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<Parse> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<WalletError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<ServerBootstrapperError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<GlobError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<DbBuilderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<ScanError> for Error"],["impl From<MockClientError> for Error"]], +"vitup":[["impl From<ParseError> for Error"],["impl From<&TempDir> for DeploymentTree"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ParseFloatError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<JoinError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VitupRest> for VitupDisruptionRestClient"],["impl From<VitupRest> for VitupAdminRestClient"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<VoteBlockchainTime> for VoteTime"],["impl From<Error> for Error"],["impl From<InteractiveCommandError> for Error"],["impl From<Error> for Error"],["impl From<Parse> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<WalletError> for Error"],["impl From<FragmentSenderError> for Error"],["impl From<FragmentVerifierError> for Error"],["impl From<Error> for Error"],["impl From<ConsumptionBenchmarkError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<TemplateLoad> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<ImageError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0ConfigurationError> for Error"],["impl From<ServerBootstrapperError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<GlobError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Block0Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<SetGlobalDefaultError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<DbBuilderError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<RestError> for Error"],["impl From<ScanError> for Error"],["impl From<MockClientError> for Error"]], "voting_tools_rs":[["impl From<u64> for SlotNo"],["impl From<u64> for VotingPurpose"],["impl From<VotingPurpose> for OsStr"],["impl From<InMemoryDbSync> for MockDbProvider"]], "wallet":[["impl From<Error> for Error"],["impl From<Vec<u8, Global>> for ScrubbedBytes"],["impl From<String> for ScrubbedBytes"]], "wallet_core":[["impl From<TimeEra> for TimeEra"],["impl From<BlockDate> for BlockDate"],["impl From<BlockDate> for BlockDate"],["impl From<Error> for Result"],["impl From<Result<(), Error>> for Result"]], diff --git a/main/06_rust_api/rust/integration_tests/enum.Error.html b/main/06_rust_api/rust/integration_tests/enum.Error.html index e42dae15bb..bba211296a 100644 --- a/main/06_rust_api/rust/integration_tests/enum.Error.html +++ b/main/06_rust_api/rust/integration_tests/enum.Error.html @@ -1,11 +1,11 @@Enum integration_tests::Error
source · [−]pub enum Error {
VitupError(Error),
VerificationError(VerificationError),
- FragmentSenderError(FragmentSenderError),
+ FragmentSenderError(FragmentSenderError),
IapyxError(ControllerError),
-}
Variants
VitupError(Error)
VerificationError(VerificationError)
FragmentSenderError(FragmentSenderError)
IapyxError(ControllerError)
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
+}Variants
VitupError(Error)
VerificationError(VerificationError)
FragmentSenderError(FragmentSenderError)
IapyxError(ControllerError)
Trait Implementations
sourceimpl Error for Error
impl Error for Error
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<ControllerError> for Error
impl From<ControllerError> for Error
sourcefn from(source: ControllerError) -> Self
fn from(source: ControllerError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
impl<T> Fake for T
impl<T> Fake for T
fn fake<U>(&self) -> Uwhere
Self: FakeBase<U>,
fn fake_with_rng<U, R>(&self, rng: &mut R) -> Uwhere
R: Rng + ?Sized,
Self: FakeBase<U>,
sourceimpl From<ControllerError> for Error
impl From<ControllerError> for Error
sourcefn from(source: ControllerError) -> Self
fn from(source: ControllerError) -> Self
sourceimpl From<Error> for Error
impl From<Error> for Error
sourcefn from(source: VerificationError) -> Self
fn from(source: VerificationError) -> Self
sourceimpl From<FragmentSenderError> for Error
impl From<FragmentSenderError> for Error
sourcefn from(source: FragmentSenderError) -> Self
fn from(source: FragmentSenderError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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
impl<T> Fake for T
impl<T> Fake for T
fn fake<U>(&self) -> Uwhere
Self: FakeBase<U>,
fn fake_with_rng<U, R>(&self, rng: &mut R) -> Uwhere
R: Rng + ?Sized,
Self: FakeBase<U>,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
impl<E> InstrumentError for Ewhere
TracedError<E>: From<E>,
type Instrumented = TracedError<E>
type Instrumented = TracedError<E>
sourcefn in_current_span(self) -> <E as InstrumentError>::Instrumented
fn in_current_span(self) -> <E as InstrumentError>::Instrumented
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
pub struct ActorsTestContext { /* private fields */ }
Implementations
Auto Trait Implementations
impl RefUnwindSafe for ActorsTestContext
impl Send for ActorsTestContext
impl Sync for ActorsTestContext
impl Unpin for ActorsTestContext
impl UnwindSafe for ActorsTestContext
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+pub struct ActorsTestContext { /* private fields */ }
Implementations
Auto Trait Implementations
impl RefUnwindSafe for ActorsTestContext
impl Send for ActorsTestContext
impl Sync for ActorsTestContext
impl Unpin for ActorsTestContext
impl UnwindSafe for ActorsTestContext
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
pub fn create_new_account_address() -> Wallet
pub fn create_new_account_address() -> Wallet
pub fn create_new_delegation_address() -> Wallet
pub fn create_new_delegation_address() -> Wallet
pub fn create_new_delegation_address_for(
delegation_identifier: &Identifier<Ed25519>
) -> Wallet
pub fn create_new_delegation_address_for(
delegation_identifier: &Identifier<Ed25519>
) -> Wallet
pub fn create_new_utxo_address() -> Wallet
pub fn create_new_utxo_address() -> Wallet
Function jormungandr_integration_tests::startup::start_stake_pool
source · [−]pub fn start_stake_pool(
owners: &[Wallet],
initial_funds: &[Wallet],
block0_config: Block0ConfigurationBuilder,
node_config_builder: NodeConfigBuilder
) -> Result<(JormungandrProcess, Vec<StakePool>), StartupError>
Function jormungandr_integration_tests::startup::start_stake_pool
source · [−]pub fn start_stake_pool(
owners: &[Wallet],
initial_funds: &[Wallet],
block0_config: Block0ConfigurationBuilder,
node_config_builder: NodeConfigBuilder
) -> Result<(JormungandrProcess, Vec<StakePool>), StartupError>
pub struct SingleNodeTestBootstrapper { /* private fields */ }
Implementations
sourceimpl SingleNodeTestBootstrapper
impl SingleNodeTestBootstrapper
pub fn with_rewards_history(self) -> Self
pub fn with_node_config(self, node_config: NodeConfigBuilder) -> Self
pub fn with_bft_secret(self, secret_key: SigningKey<Ed25519>) -> Self
pub fn as_bft_leader(self) -> Self
pub fn as_genesis_praos_stake_pool(self, stake_pool: &StakePool) -> Self
pub fn with_block0_config(self, config: Block0ConfigurationBuilder) -> Self
pub fn build(self) -> TestContext
Trait Implementations
sourceimpl Default for SingleNodeTestBootstrapper
impl Default for SingleNodeTestBootstrapper
sourcefn default() -> SingleNodeTestBootstrapper
fn default() -> SingleNodeTestBootstrapper
Auto Trait Implementations
impl RefUnwindSafe for SingleNodeTestBootstrapper
impl Send for SingleNodeTestBootstrapper
impl Sync for SingleNodeTestBootstrapper
impl Unpin for SingleNodeTestBootstrapper
impl UnwindSafe for SingleNodeTestBootstrapper
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
const: unstable · sourcefn from(t: T) -> T
fn from(t: T) -> T
Returns the argument unchanged.
+pub struct SingleNodeTestBootstrapper { /* private fields */ }
Implementations
sourceimpl SingleNodeTestBootstrapper
impl SingleNodeTestBootstrapper
pub fn with_rewards_history(self) -> Self
pub fn with_node_config(self, node_config: NodeConfigBuilder) -> Self
pub fn with_bft_secret(self, secret_key: SigningKey<Ed25519>) -> Self
pub fn as_bft_leader(self) -> Self
pub fn as_genesis_praos_stake_pool(self, stake_pool: &StakePool) -> Self
pub fn with_block0_config(self, config: Block0ConfigurationBuilder) -> Self
pub fn build(self) -> TestContext
Trait Implementations
sourceimpl Default for SingleNodeTestBootstrapper
impl Default for SingleNodeTestBootstrapper
sourcefn default() -> SingleNodeTestBootstrapper
fn default() -> SingleNodeTestBootstrapper
Auto Trait Implementations
impl RefUnwindSafe for SingleNodeTestBootstrapper
impl Send for SingleNodeTestBootstrapper
impl Sync for SingleNodeTestBootstrapper
impl Unpin for SingleNodeTestBootstrapper
impl UnwindSafe for SingleNodeTestBootstrapper
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Expand description
Send malformed transactions Only supports account based wallets
-Variants
FragmentNotRejected
FragmentBuilderError(FragmentBuilderError)
SendFragmentError(FragmentNodeError)
FragmentVerifierError(FragmentVerifierError)
FragmentExporterError(FragmentExporterError)
SyncNodeError(SyncNodeError)
Implementations
Trait Implementations
sourceimpl Debug for AdversaryFragmentSenderError
impl Debug for AdversaryFragmentSenderError
sourceimpl Error for AdversaryFragmentSenderError
impl Error for AdversaryFragmentSenderError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
+Variants
FragmentNotRejected
FragmentBuilderError(FragmentBuilderError)
SendFragmentError(FragmentNodeError)
FragmentVerifierError(FragmentVerifierError)
FragmentExporterError(FragmentExporterError)
SyncNodeError(SyncNodeError)
Implementations
Trait Implementations
sourceimpl Debug for AdversaryFragmentSenderError
impl Debug for AdversaryFragmentSenderError
sourceimpl Error for AdversaryFragmentSenderError
impl Error for AdversaryFragmentSenderError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl From<FragmentBuilderError> for AdversaryFragmentSenderError
impl From<FragmentBuilderError> for AdversaryFragmentSenderError
sourceimpl From<FragmentExporterError> for AdversaryFragmentSenderError
impl From<FragmentExporterError> for AdversaryFragmentSenderError
sourceimpl From<FragmentNodeError> for AdversaryFragmentSenderError
impl From<FragmentNodeError> for AdversaryFragmentSenderError
sourcefn from(source: FragmentNodeError) -> Self
fn from(source: FragmentNodeError) -> Self
sourceimpl From<FragmentVerifierError> for AdversaryFragmentSenderError
impl From<FragmentVerifierError> for AdversaryFragmentSenderError
sourceimpl From<SyncNodeError> for AdversaryFragmentSenderError
impl From<SyncNodeError> for AdversaryFragmentSenderError
sourcefn from(source: SyncNodeError) -> Self
fn from(source: SyncNodeError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for AdversaryFragmentSenderError
impl Send for AdversaryFragmentSenderError
impl Sync for AdversaryFragmentSenderError
impl Unpin for AdversaryFragmentSenderError
impl !UnwindSafe for AdversaryFragmentSenderError
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
sourceimpl From<FragmentBuilderError> for AdversaryFragmentSenderError
impl From<FragmentBuilderError> for AdversaryFragmentSenderError
sourcefn from(source: FragmentBuilderError) -> Self
fn from(source: FragmentBuilderError) -> Self
sourceimpl From<FragmentExporterError> for AdversaryFragmentSenderError
impl From<FragmentExporterError> for AdversaryFragmentSenderError
sourcefn from(source: FragmentExporterError) -> Self
fn from(source: FragmentExporterError) -> Self
sourceimpl From<FragmentNodeError> for AdversaryFragmentSenderError
impl From<FragmentNodeError> for AdversaryFragmentSenderError
sourcefn from(source: FragmentNodeError) -> Self
fn from(source: FragmentNodeError) -> Self
sourceimpl From<FragmentVerifierError> for AdversaryFragmentSenderError
impl From<FragmentVerifierError> for AdversaryFragmentSenderError
sourcefn from(source: FragmentVerifierError) -> Self
fn from(source: FragmentVerifierError) -> Self
sourceimpl From<SyncNodeError> for AdversaryFragmentSenderError
impl From<SyncNodeError> for AdversaryFragmentSenderError
sourcefn from(source: SyncNodeError) -> Self
fn from(source: SyncNodeError) -> Self
Auto Trait Implementations
impl !RefUnwindSafe for AdversaryFragmentSenderError
impl Send for AdversaryFragmentSenderError
impl Sync for AdversaryFragmentSenderError
impl Unpin for AdversaryFragmentSenderError
impl !UnwindSafe for AdversaryFragmentSenderError
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
In the future, we may be interested in this node being interchangeable with JormungandrProcess in terms of functionalities, but we start from what is currently needed.
-Implementations
sourceimpl AdversaryNode
impl AdversaryNode
pub fn fragment_sender<'a, S: SyncNode + Send>(
&self,
setup: FragmentSenderSetup<'a, S>
) -> FragmentSender<'a, S>
pub fn alias(&self) -> NodeAlias
pub fn address(&self) -> SocketAddr
pub fn fees(&self) -> LinearFee
pub fn genesis_block_hash(&self) -> Hash
pub fn block0_configuration(&self) -> Block0Configuration
pub fn to_trusted_peer(&self) -> TrustedPeer
pub fn steal_temp_dir(&mut self) -> Option<TestingDirectory>
pub fn send_block_to_peer(
&mut self,
peer: SocketAddr,
block: Block
) -> Result<(), MockClientError>
pub fn send_header_to_peer(
&mut self,
peer: SocketAddr,
header: Header
) -> Result<(), MockClientError>
pub fn builder(genesis_block: Block) -> AdversaryNodeBuilder
pub fn node_data(&self) -> Arc<RwLock<NodeData>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AdversaryNode
impl Send for AdversaryNode
impl !Sync for AdversaryNode
impl Unpin for AdversaryNode
impl !UnwindSafe for AdversaryNode
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
sourceimpl<T> From<T> for T
impl<T> From<T> for T
Implementations
sourceimpl AdversaryNode
impl AdversaryNode
pub fn fragment_sender<'a, S: SyncNode + Send>(
&self,
setup: FragmentSenderSetup<'a, S>
) -> FragmentSender<'a, S>
pub fn alias(&self) -> NodeAlias
pub fn address(&self) -> SocketAddr
pub fn fees(&self) -> LinearFee
pub fn genesis_block_hash(&self) -> Hash
pub fn block0_configuration(&self) -> Block0Configuration
pub fn to_trusted_peer(&self) -> TrustedPeer
pub fn steal_temp_dir(&mut self) -> Option<TestingDirectory>
pub fn send_block_to_peer(
&mut self,
peer: SocketAddr,
block: Block
) -> Result<(), MockClientError>
pub fn send_header_to_peer(
&mut self,
peer: SocketAddr,
header: Header
) -> Result<(), MockClientError>
pub fn builder(genesis_block: Block) -> AdversaryNodeBuilder
pub fn node_data(&self) -> Arc<RwLock<NodeData>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for AdversaryNode
impl Send for AdversaryNode
impl !Sync for AdversaryNode
impl Unpin for AdversaryNode
impl !UnwindSafe for AdversaryNode
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
const: unstable · sourcefn into(self) -> U
fn into(self) -> U
Calls U::from(self)
.
Struct loki::AdversaryFragmentSender
source · [−]Implementations
sourceimpl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>
impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>
pub fn try_from_jormungandr(
process: &JormungandrProcess,
block0: BlockDate,
setup: AdversaryFragmentSenderSetup<'a, S>
) -> Result<Self, RestError>
sourceimpl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>
impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>
pub fn from_settings(
settings: SettingsDto,
block0: BlockDate,
setup: AdversaryFragmentSenderSetup<'a, S>
) -> Self
sourceimpl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>
impl<'a, S: SyncNode + Send> AdversaryFragmentSender<'a, S>
pub fn new(
block0_hash: Hash,
fees: LinearFee,
expiry_generator: BlockDateGenerator,
setup: AdversaryFragmentSenderSetup<'a, S>
) -> Self
pub fn block0_hash(&self) -> Hash
pub fn fees(&self) -> LinearFee
pub fn send_random_faulty_transaction<A: FragmentNode + SyncNode + Sized + Send>(
&self,
from: &mut Wallet,
to: &Wallet,
via: &A
) -> Result<MemPoolCheck, AdversaryFragmentSenderError>
pub fn send_transactions_with_invalid_counter<A: FragmentNode + SyncNode + Sized + Send>(
&self,
n: usize,
from: &mut Wallet,
to: &Wallet,
via: &A
) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>
pub fn send_all_faulty_transactions<A: FragmentNode + SyncNode + Sized + Send>(
&self,
from: &mut Wallet,
to: &Wallet,
via: &A
) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>
pub fn send_faulty_full_delegation<A: FragmentNode + SyncNode + Sized + Send>(
&self,
valid_until: BlockDate,
from: &mut Wallet,
to: PoolId,
via: &A
) -> Result<MemPoolCheck, AdversaryFragmentSenderError>
pub fn send_faulty_transactions<A: FragmentNode + SyncNode + Sized + Send>(
&self,
n: u32,
wallet1: &mut Wallet,
wallet2: &Wallet,
node: &A
) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>
pub fn send_faulty_transactions_with_iteration_delay<A: FragmentNode + SyncNode + Sized + Send>(
&self,
n: u32,
wallet1: &mut Wallet,
wallet2: &Wallet,
node: &A,
duration: Duration
) -> Result<Vec<MemPoolCheck>, AdversaryFragmentSenderError>
pub fn send_fragment<A: FragmentNode + SyncNode + Sized + Send>(
&self,
fragment: Fragment,
node: &A
) -> Result<MemPoolCheck, AdversaryFragmentSenderError>
Trait Implementations
sourceimpl<'a, S: Clone + SyncNode + Send> Clone for AdversaryFragmentSender<'a, S>
impl<'a, S: Clone + SyncNode + Send> Clone for AdversaryFragmentSender<'a, S>
sourcefn clone(&self) -> AdversaryFragmentSender<'a, S>
fn clone(&self) -> AdversaryFragmentSender<'a, S>
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more