#[non_exhaustive]pub enum PlacementDecision {
ZeroCopy,
AdaptRequired,
}Expand description
The edge-level placement decision for a message about to cross a port.
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.
ZeroCopy
Input port accepts the current placement; pass through zero-copy.
AdaptRequired
Input port does not accept the current placement; adapt (copy/transfer) required.
Trait Implementations§
Source§impl Clone for PlacementDecision
impl Clone for PlacementDecision
Source§fn clone(&self) -> PlacementDecision
fn clone(&self) -> PlacementDecision
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 moreSource§impl Debug for PlacementDecision
impl Debug for PlacementDecision
Source§impl PartialEq for PlacementDecision
impl PartialEq for PlacementDecision
impl Copy for PlacementDecision
impl Eq for PlacementDecision
impl StructuralPartialEq for PlacementDecision
Auto Trait Implementations§
impl Freeze for PlacementDecision
impl RefUnwindSafe for PlacementDecision
impl Send for PlacementDecision
impl Sync for PlacementDecision
impl Unpin for PlacementDecision
impl UnsafeUnpin for PlacementDecision
impl UnwindSafe for PlacementDecision
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