pub struct PexOutcome {
pub replies: Vec<PexMessage>,
pub events: Vec<PexEvent>,
}Expand description
The result of feeding the engine an inbound message or transport error: the messages to send back on the link, plus the events for the host to act on.
Fields§
§replies: Vec<PexMessage>Messages to write back on the link (e.g. a pex_error). Best-effort / advisory (SPEC §4.5).
events: Vec<PexEvent>Events for the host (candidates / dropped / violation).
Trait Implementations§
Source§impl Clone for PexOutcome
impl Clone for PexOutcome
Source§fn clone(&self) -> PexOutcome
fn clone(&self) -> PexOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PexOutcome
impl Debug for PexOutcome
Source§impl Default for PexOutcome
impl Default for PexOutcome
Source§fn default() -> PexOutcome
fn default() -> PexOutcome
Returns the “default value” for a type. Read more
impl Eq for PexOutcome
Source§impl PartialEq for PexOutcome
impl PartialEq for PexOutcome
impl StructuralPartialEq for PexOutcome
Auto Trait Implementations§
impl Freeze for PexOutcome
impl RefUnwindSafe for PexOutcome
impl Send for PexOutcome
impl Sync for PexOutcome
impl Unpin for PexOutcome
impl UnsafeUnpin for PexOutcome
impl UnwindSafe for PexOutcome
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