pub struct PeerInputCandidate {
pub interaction: InboxInteraction,
pub class: PeerInputClass,
pub lifecycle_peer: Option<String>,
}Expand description
Canonical peer/event ingress candidate handed to runtime admission.
This is the typed, machine-authored drain unit for runtime-backed peer ingress. It preserves ingress classification so downstream code does not re-derive semantics after drain.
Fields§
§interaction: InboxInteractionThe original interaction data.
class: PeerInputClassPre-computed classification from ingress.
lifecycle_peer: Option<String>For lifecycle events, the peer name that was added/retired.
Trait Implementations§
Source§impl Clone for PeerInputCandidate
impl Clone for PeerInputCandidate
Source§fn clone(&self) -> PeerInputCandidate
fn clone(&self) -> PeerInputCandidate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PeerInputCandidate
impl RefUnwindSafe for PeerInputCandidate
impl Send for PeerInputCandidate
impl Sync for PeerInputCandidate
impl Unpin for PeerInputCandidate
impl UnsafeUnpin for PeerInputCandidate
impl UnwindSafe for PeerInputCandidate
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