pub struct RuntimePeerCommsHandle { /* private fields */ }Expand description
Runtime-backed PeerCommsHandle impl.
Routes every trait method to the corresponding DSL signal / input on a dedicated per-session MeerkatMachine DSL authority.
Implementations§
Trait Implementations§
Source§impl Debug for RuntimePeerCommsHandle
impl Debug for RuntimePeerCommsHandle
Source§impl PeerCommsHandle for RuntimePeerCommsHandle
impl PeerCommsHandle for RuntimePeerCommsHandle
Source§fn classify_external_envelope(
&self,
facts: PeerIngressEnvelopeFacts,
) -> Result<PeerIngressAdmission, DslTransitionError>
fn classify_external_envelope( &self, facts: PeerIngressEnvelopeFacts, ) -> Result<PeerIngressAdmission, DslTransitionError>
Fire the
ClassifyExternalEnvelope signal and return machine-owned
admission facts for the parsed envelope.Source§fn classify_plain_event(
&self,
facts: PeerIngressPlainEventFacts,
) -> Result<PeerIngressAdmission, DslTransitionError>
fn classify_plain_event( &self, facts: PeerIngressPlainEventFacts, ) -> Result<PeerIngressAdmission, DslTransitionError>
Fire the
ClassifyPlainEvent signal and return machine-owned
admission facts for the parsed plain event.Source§fn set_peer_ingress_context(
&self,
keep_alive: bool,
) -> Result<(), DslTransitionError>
fn set_peer_ingress_context( &self, keep_alive: bool, ) -> Result<(), DslTransitionError>
Fire the
SetPeerIngressContext { keep_alive } input.Auto Trait Implementations§
impl Freeze for RuntimePeerCommsHandle
impl RefUnwindSafe for RuntimePeerCommsHandle
impl Send for RuntimePeerCommsHandle
impl Sync for RuntimePeerCommsHandle
impl Unpin for RuntimePeerCommsHandle
impl UnsafeUnpin for RuntimePeerCommsHandle
impl UnwindSafe for RuntimePeerCommsHandle
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