pub struct DirectPair { /* private fields */ }Implementations§
Source§impl DirectPair
impl DirectPair
pub fn new(config: DirectConfig) -> Result<Self, CoreError>
pub fn id(&self) -> InterlaceId
pub fn cancel(&mut self)
pub fn active_store_call(&self, side: InterlaceSide) -> Option<&StoreCall>
pub fn active_store_call_mut( &mut self, side: InterlaceSide, ) -> Option<&mut StoreCall>
pub fn current_round(&self) -> InterlaceRoundId
pub fn protocol_phase(&self, side: InterlaceSide) -> MachineProtocolPhase
pub fn protocol_phase_token(&self, side: InterlaceSide) -> ProtocolPhaseToken
pub fn replace_policy( &mut self, operands: [InterlaceModule; 2], ) -> Result<(), CoreError>
pub fn submit_store_call(&mut self, id: u64) -> Result<(), MachineError>
pub fn try_store_position_advanced( &mut self, boundary: &FixedPointWakeBoundary, position: StorePosition, ) -> StorePositionAdvance
pub fn timeout(&mut self, side: InterlaceSide)
pub fn poll(&mut self) -> MachinePoll<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirectPair
impl RefUnwindSafe for DirectPair
impl Send for DirectPair
impl Sync for DirectPair
impl Unpin for DirectPair
impl UnsafeUnpin for DirectPair
impl UnwindSafe for DirectPair
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more