Struct ChainExposureState
pub struct ChainExposureState { /* private fields */ }Implementations§
§impl ChainExposureState
impl ChainExposureState
pub fn from_inputs(
inputs: &ChainExposureInputs<'_>,
) -> Result<Self, FerroRiskError>
pub fn from_inputs( inputs: &ChainExposureInputs<'_>, ) -> Result<Self, FerroRiskError>
pub fn refresh(
&mut self,
inputs: &ChainExposureInputs<'_>,
refresh_report: &ChainRefreshReport,
) -> Result<ChainExposureStateRefresh, FerroRiskError>
pub fn refresh( &mut self, inputs: &ChainExposureInputs<'_>, refresh_report: &ChainRefreshReport, ) -> Result<ChainExposureStateRefresh, FerroRiskError>
pub fn report(&self) -> ChainExposureReport
pub fn report(&self) -> ChainExposureReport
pub fn chain_revision(&self) -> u64
pub fn net_exposure(&self) -> ChainExposureValues
Trait Implementations§
§impl Clone for ChainExposureState
impl Clone for ChainExposureState
§fn clone(&self) -> ChainExposureState
fn clone(&self) -> ChainExposureState
1.0.0 (const: )§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
§impl PartialEq for ChainExposureState
impl PartialEq for ChainExposureState
impl StructuralPartialEq for ChainExposureState
Auto Trait Implementations§
impl Freeze for ChainExposureState
impl RefUnwindSafe for ChainExposureState
impl Send for ChainExposureState
impl Sync for ChainExposureState
impl Unpin for ChainExposureState
impl UnsafeUnpin for ChainExposureState
impl UnwindSafe for ChainExposureState
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)