[−][src]Struct st2_logformat::pair::Pair
A pair of timestamps, partially ordered by the product order.
Fields
first: S
first part of timestamp
second: T
second part of timestampe
Methods
impl<S, T> Pair<S, T>
[src]
Trait Implementations
impl<S: Clone, T: Clone> Clone for Pair<S, T>
[src]
fn clone(&self) -> Pair<S, T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S: Ord, T: Ord> Ord for Pair<S, T>
[src]
fn cmp(&self, other: &Pair<S, T>) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
Compares and returns the minimum of two values. Read more
fn clamp(self, min: Self, max: Self) -> Self
[src]
clamp
)Restrict a value to a certain interval. Read more
impl<S: Default, T: Default> Default for Pair<S, T>
[src]
impl<S: PartialOrd, T: PartialOrd> PartialOrd<Pair<S, T>> for Pair<S, T>
[src]
fn partial_cmp(&self, other: &Pair<S, T>) -> Option<Ordering>
[src]
fn lt(&self, other: &Pair<S, T>) -> bool
[src]
fn le(&self, other: &Pair<S, T>) -> bool
[src]
fn gt(&self, other: &Pair<S, T>) -> bool
[src]
fn ge(&self, other: &Pair<S, T>) -> bool
[src]
impl<S: PartialEq, T: PartialEq> PartialEq<Pair<S, T>> for Pair<S, T>
[src]
impl<S: Eq, T: Eq> Eq for Pair<S, T>
[src]
impl<TOuter: Debug, TInner: Debug> Debug for Pair<TOuter, TInner>
[src]
Debug implementation to avoid seeing fully qualified path names.
impl<S: Hash, T: Hash> Hash for Pair<S, T>
[src]
fn hash<__HST: Hasher>(&self, state: &mut __HST)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<S, T> Abomonation for Pair<S, T> where
S: Abomonation,
T: Abomonation,
[src]
S: Abomonation,
T: 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<S: Lattice, T: Lattice> Lattice for Pair<S, T>
[src]
Implement differential dataflow's Lattice
trait.
This extends the PartialOrder
implementation with additional structure.
fn minimum() -> Self
[src]
fn join(&self, other: &Self) -> Self
[src]
fn meet(&self, other: &Self) -> Self
[src]
fn join_assign(&mut self, other: &Self)
[src]
Updates self
to the smallest element greater than or equal to both arguments. Read more
fn meet_assign(&mut self, other: &Self)
[src]
Updates self
to the largest element less than or equal to both arguments. Read more
fn advance_by(&mut self, frontier: &[Self])
[src]
Advances self to the largest time indistinguishable under frontier
. Read more
impl<S: Timestamp, T: Timestamp> Timestamp for Pair<S, T>
[src]
Implement timely dataflow's Timestamp
trait.
impl<S: TotalOrder, T: TotalOrder> TotalOrder for Pair<S, T>
[src]
impl<S: PartialOrder, T: PartialOrder> PartialOrder for Pair<S, T>
[src]
Implement timely dataflow's PartialOrder
trait.
Note: This is in fact a total order implementation!
fn less_equal(&self, other: &Self) -> bool
[src]
fn less_than(&self, other: &Self) -> bool
[src]
Returns true iff one element is strictly less than the other.
impl<S: Timestamp, T: Timestamp> Refines<()> for Pair<S, T>
[src]
fn to_inner(_outer: ()) -> Self
[src]
fn to_outer(self)
[src]
fn summarize(_summary: Self::Summary)
[src]
impl<S: Timestamp, T: Timestamp> PathSummary<Pair<S, T>> for ()
[src]
Implement timely dataflow's PathSummary
trait.
This is preparation for the Timestamp
implementation below.
fn results_in(&self, timestamp: &Pair<S, T>) -> Option<Pair<S, T>>
[src]
fn followed_by(&self, other: &Self) -> Option<Self>
[src]
Auto Trait Implementations
impl<S, T> Unpin for Pair<S, T> where
S: Unpin,
T: Unpin,
S: Unpin,
T: Unpin,
impl<S, T> Sync for Pair<S, T> where
S: Sync,
T: Sync,
S: Sync,
T: Sync,
impl<S, T> Send for Pair<S, T> where
S: Send,
T: Send,
S: Send,
T: Send,
impl<S, T> UnwindSafe for Pair<S, T> where
S: UnwindSafe,
T: UnwindSafe,
S: UnwindSafe,
T: UnwindSafe,
impl<S, T> RefUnwindSafe for Pair<S, T> where
S: RefUnwindSafe,
T: RefUnwindSafe,
S: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Data for T where
T: Ord + Debug + Data,
[src]
T: Ord + Debug + Data,
impl<T> ExchangeData for T where
T: Ord + Debug + ExchangeData,
[src]
T: Ord + Debug + ExchangeData,
impl<T> Hashable for T where
T: Hash,
[src]
T: Hash,
impl<T> Refines<T> for T where
T: Timestamp,
[src]
T: Timestamp,
fn to_inner(other: T) -> T
[src]
fn to_outer(self) -> T
[src]
fn summarize(path: <T as Timestamp>::Summary) -> <T as Timestamp>::Summary
[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,
T: 'static + Send + Sync + Any + Abomonation,
impl<T> ExchangeData for T where
T: Data + Data,
[src]
T: Data + Data,