Struct timely::order::Product [−][src]
A nested pair of timestamps, one outer and one inner.
We use Product
rather than (TOuter, TInner)
so that we can derive our own PartialOrd
,
because Rust just uses the lexicographic total order.
Fields
outer: TOuter
Outer timestamp.
inner: TInner
Inner timestamp.
Implementations
impl<TOuter, TInner> Product<TOuter, TInner>
[src]
pub fn new(outer: TOuter, inner: TInner) -> Product<TOuter, TInner>
[src]
Creates a new product from outer and inner coordinates.
Trait Implementations
impl<TOuter, TInner> Abomonation for Product<TOuter, TInner> where
TOuter: Abomonation,
TInner: Abomonation,
[src]
TOuter: Abomonation,
TInner: Abomonation,
unsafe fn entomb<W: Write>(&self, _write: &mut W) -> Result<()>
[src]
fn extent(&self) -> usize
[src]
unsafe fn exhume<'a, 'b>(
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
[src]
&'a mut self,
bytes: &'b mut [u8]
) -> Option<&'b mut [u8]>
impl<TOuter: Clone, TInner: Clone> Clone for Product<TOuter, TInner>
[src]
fn clone(&self) -> Product<TOuter, TInner>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<TOuter: Copy, TInner: Copy> Copy for Product<TOuter, TInner>
[src]
impl<TOuter: Debug, TInner: Debug> Debug for Product<TOuter, TInner>
[src]
Debug implementation to avoid seeing fully qualified path names.
impl<TOuter: Default, TInner: Default> Default for Product<TOuter, TInner>
[src]
impl<'de, TOuter, TInner> Deserialize<'de> for Product<TOuter, TInner> where
TOuter: Deserialize<'de>,
TInner: Deserialize<'de>,
[src]
TOuter: Deserialize<'de>,
TInner: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<T1: Empty, T2: Empty> Empty for Product<T1, T2>
[src]
impl<TOuter: Eq, TInner: Eq> Eq for Product<TOuter, TInner>
[src]
impl<TOuter: Hash, TInner: Hash> Hash for Product<TOuter, TInner>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<TOuter: Ord, TInner: Ord> Ord for Product<TOuter, TInner>
[src]
fn cmp(&self, other: &Product<TOuter, TInner>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<TOuter: PartialEq, TInner: PartialEq> PartialEq<Product<TOuter, TInner>> for Product<TOuter, TInner>
[src]
fn eq(&self, other: &Product<TOuter, TInner>) -> bool
[src]
fn ne(&self, other: &Product<TOuter, TInner>) -> bool
[src]
impl<TOuter: PartialOrd, TInner: PartialOrd> PartialOrd<Product<TOuter, TInner>> for Product<TOuter, TInner>
[src]
fn partial_cmp(&self, other: &Product<TOuter, TInner>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<TOuter: PartialOrder, TInner: PartialOrder> PartialOrder for Product<TOuter, TInner>
[src]
impl<TOuter: Timestamp, TInner: Timestamp> PathSummary<Product<TOuter, TInner>> for Product<TOuter::Summary, TInner::Summary>
[src]
fn results_in(
&self,
product: &Product<TOuter, TInner>
) -> Option<Product<TOuter, TInner>>
[src]
&self,
product: &Product<TOuter, TInner>
) -> Option<Product<TOuter, TInner>>
fn followed_by(
&self,
other: &Product<TOuter::Summary, TInner::Summary>
) -> Option<Product<TOuter::Summary, TInner::Summary>>
[src]
&self,
other: &Product<TOuter::Summary, TInner::Summary>
) -> Option<Product<TOuter::Summary, TInner::Summary>>
impl<TOuter: Timestamp, TInner: Timestamp> Refines<TOuter> for Product<TOuter, TInner>
[src]
fn to_inner(other: TOuter) -> Self
[src]
fn to_outer(self: Product<TOuter, TInner>) -> TOuter
[src]
fn summarize(path: Self::Summary) -> <TOuter as Timestamp>::Summary
[src]
impl<TOuter, TInner> Serialize for Product<TOuter, TInner> where
TOuter: Serialize,
TInner: Serialize,
[src]
TOuter: Serialize,
TInner: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<TOuter, TInner> StructuralEq for Product<TOuter, TInner>
[src]
impl<TOuter, TInner> StructuralPartialEq for Product<TOuter, TInner>
[src]
impl<TOuter: Timestamp, TInner: Timestamp> Timestamp for Product<TOuter, TInner>
[src]
type Summary = Product<TOuter::Summary, TInner::Summary>
A type summarizing action on a timestamp along a dataflow path.
fn minimum() -> Self
[src]
impl<T1, T2> TotalOrder for Product<T1, T2> where
T1: Empty,
T2: TotalOrder,
[src]
T1: Empty,
T2: TotalOrder,
Auto Trait Implementations
impl<TOuter, TInner> RefUnwindSafe for Product<TOuter, TInner> where
TInner: RefUnwindSafe,
TOuter: RefUnwindSafe,
TInner: RefUnwindSafe,
TOuter: RefUnwindSafe,
impl<TOuter, TInner> Send for Product<TOuter, TInner> where
TInner: Send,
TOuter: Send,
TInner: Send,
TOuter: Send,
impl<TOuter, TInner> Sync for Product<TOuter, TInner> where
TInner: Sync,
TOuter: Sync,
TInner: Sync,
TOuter: Sync,
impl<TOuter, TInner> Unpin for Product<TOuter, TInner> where
TInner: Unpin,
TOuter: Unpin,
TInner: Unpin,
TOuter: Unpin,
impl<TOuter, TInner> UnwindSafe for Product<TOuter, TInner> where
TInner: UnwindSafe,
TOuter: UnwindSafe,
TInner: UnwindSafe,
TOuter: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Data for T where
T: 'static + Clone,
[src]
T: 'static + Clone,
impl<T> Data for T where
T: 'static + Send + Sync + Any + Abomonation,
[src]
T: 'static + Send + Sync + Any + Abomonation,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> ExchangeData for T where
T: Data + Data,
[src]
T: Data + Data,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ProgressEventTimestamp for T where
T: Data + Any + Debug,
[src]
T: Data + Any + Debug,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,