Struct ChainFlowState
pub struct ChainFlowState { /* private fields */ }Implementations§
§impl ChainFlowState
impl ChainFlowState
pub fn from_inputs(
inputs: &ChainExposureInputs<'_>,
ladder_policy: SpotLadderPolicy,
) -> Result<Self, FerroRiskError>
pub fn from_inputs( inputs: &ChainExposureInputs<'_>, ladder_policy: SpotLadderPolicy, ) -> Result<Self, FerroRiskError>
pub fn refresh(
&mut self,
inputs: &ChainExposureInputs<'_>,
refresh_report: &ChainRefreshReport,
) -> Result<ChainFlowStateRefresh, FerroRiskError>
pub fn refresh( &mut self, inputs: &ChainExposureInputs<'_>, refresh_report: &ChainRefreshReport, ) -> Result<ChainFlowStateRefresh, FerroRiskError>
pub fn report(&self) -> ChainFlowReport
pub fn report(&self) -> ChainFlowReport
Trait Implementations§
§impl Clone for ChainFlowState
impl Clone for ChainFlowState
§fn clone(&self) -> ChainFlowState
fn clone(&self) -> ChainFlowState
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl PartialEq for ChainFlowState
impl PartialEq for ChainFlowState
impl StructuralPartialEq for ChainFlowState
Auto Trait Implementations§
impl Freeze for ChainFlowState
impl RefUnwindSafe for ChainFlowState
impl Send for ChainFlowState
impl Sync for ChainFlowState
impl Unpin for ChainFlowState
impl UnsafeUnpin for ChainFlowState
impl UnwindSafe for ChainFlowState
Blanket Implementations§
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)