pub enum FollowReplacement {
Stay,
Follow,
}Expand description
Whether pending work follows a destination that was replaced.
Named rather than a bare flag because the two answers are different promises: one says the question stays with the seat, the other says it stays with the process that was asked and dies with it.
Variants§
Stay
Leave the delivery superseded and visible; do not re-address it.
Follow
Re-address pending deliveries to the replacement.
Implementations§
Trait Implementations§
Source§impl Clone for FollowReplacement
impl Clone for FollowReplacement
impl Copy for FollowReplacement
Source§impl Debug for FollowReplacement
impl Debug for FollowReplacement
Source§impl Default for FollowReplacement
impl Default for FollowReplacement
Source§impl<'de> Deserialize<'de> for FollowReplacement
impl<'de> Deserialize<'de> for FollowReplacement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for FollowReplacement
impl Display for FollowReplacement
impl Eq for FollowReplacement
Source§impl Hash for FollowReplacement
impl Hash for FollowReplacement
Source§impl Ord for FollowReplacement
impl Ord for FollowReplacement
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FollowReplacement
impl PartialEq for FollowReplacement
Source§impl PartialOrd for FollowReplacement
impl PartialOrd for FollowReplacement
Source§impl Serialize for FollowReplacement
impl Serialize for FollowReplacement
impl StructuralPartialEq for FollowReplacement
Auto Trait Implementations§
impl Freeze for FollowReplacement
impl RefUnwindSafe for FollowReplacement
impl Send for FollowReplacement
impl Sync for FollowReplacement
impl Unpin for FollowReplacement
impl UnsafeUnpin for FollowReplacement
impl UnwindSafe for FollowReplacement
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