#[non_exhaustive]pub enum ConnectionEffect<F = ()> {
ScheduleDeadline {
epoch: ConnectionEpoch,
operation: OperationId,
deadline: Deadline,
},
DiscardWrite {
effect: EffectId,
epoch: ConnectionEpoch,
operation: OperationId,
},
CancelDeadline {
epoch: ConnectionEpoch,
operation: OperationId,
},
CloseEpoch {
epoch: ConnectionEpoch,
reason: CloseReason,
},
PublishOutcome {
epoch: ConnectionEpoch,
operation: OperationId,
outcome: OperationOutcome<F>,
},
}Expand description
A capability action or terminal publication requested by core policy.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ScheduleDeadline
Schedule the original absolute deadline.
DiscardWrite
Remove a frame that never entered transport write ownership.
CancelDeadline
Remove the deadline owned by an operation.
CloseEpoch
Close the physical capability for this exact epoch.
PublishOutcome
Publish one terminal operation outcome outside the owner path.
Fields
§
epoch: ConnectionEpochOwning epoch.
§
operation: OperationIdTerminal operation.
§
outcome: OperationOutcome<F>Mechanical terminal outcome, including an opaque matched reply when present.
Trait Implementations§
Source§impl<F: Clone> Clone for ConnectionEffect<F>
impl<F: Clone> Clone for ConnectionEffect<F>
Source§impl<F: Debug> Debug for ConnectionEffect<F>
impl<F: Debug> Debug for ConnectionEffect<F>
impl<F: Eq> Eq for ConnectionEffect<F>
Source§impl<F: PartialEq> PartialEq for ConnectionEffect<F>
impl<F: PartialEq> PartialEq for ConnectionEffect<F>
impl<F: PartialEq> StructuralPartialEq for ConnectionEffect<F>
Auto Trait Implementations§
impl<F> Freeze for ConnectionEffect<F>where
OperationOutcome<F>: Freeze,
impl<F> RefUnwindSafe for ConnectionEffect<F>where
OperationOutcome<F>: RefUnwindSafe,
impl<F> Send for ConnectionEffect<F>where
OperationOutcome<F>: Send,
impl<F> Sync for ConnectionEffect<F>where
OperationOutcome<F>: Sync,
impl<F> Unpin for ConnectionEffect<F>where
OperationOutcome<F>: Unpin,
impl<F> UnsafeUnpin for ConnectionEffect<F>where
OperationOutcome<F>: UnsafeUnpin,
impl<F> UnwindSafe for ConnectionEffect<F>where
OperationOutcome<F>: UnwindSafe,
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