pub struct SocialPostMaterializationCursor(/* private fields */);Expand description
Opaque durable position in one database lineage’s SocialPost materialization feed.
Persist this value only after durably handling every item in its page, then pass it back to resume. A cursor belongs to the database lineage that issued it. A faithful backup carrying the same feed prefix retains its meaning; divergent copies and unrelated databases do not. Restoring a database older than the cursor fails as out of range.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for SocialPostMaterializationCursor
impl<'__de, __Context> BorrowDecode<'__de, __Context> for SocialPostMaterializationCursor
Source§fn borrow_decode<__D>(
decoder: &mut __D,
) -> Result<SocialPostMaterializationCursor, DecodeError>where
__D: BorrowDecoder<'__de, Context = __Context>,
fn borrow_decode<__D>(
decoder: &mut __D,
) -> Result<SocialPostMaterializationCursor, DecodeError>where
__D: BorrowDecoder<'__de, Context = __Context>,
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for SocialPostMaterializationCursor
impl Clone for SocialPostMaterializationCursor
Source§fn clone(&self) -> SocialPostMaterializationCursor
fn clone(&self) -> SocialPostMaterializationCursor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SocialPostMaterializationCursor
Source§impl<__Context> Decode<__Context> for SocialPostMaterializationCursor
impl<__Context> Decode<__Context> for SocialPostMaterializationCursor
Source§fn decode<__D>(
decoder: &mut __D,
) -> Result<SocialPostMaterializationCursor, DecodeError>where
__D: Decoder<Context = __Context>,
fn decode<__D>(
decoder: &mut __D,
) -> Result<SocialPostMaterializationCursor, DecodeError>where
__D: Decoder<Context = __Context>,
Attempt to decode this type with the given Decode.
Source§impl<'de> Deserialize<'de> for SocialPostMaterializationCursor
impl<'de> Deserialize<'de> for SocialPostMaterializationCursor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SocialPostMaterializationCursor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SocialPostMaterializationCursor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SocialPostMaterializationCursor
Source§impl Ord for SocialPostMaterializationCursor
impl Ord for SocialPostMaterializationCursor
Source§fn cmp(&self, other: &SocialPostMaterializationCursor) -> Ordering
fn cmp(&self, other: &SocialPostMaterializationCursor) -> Ordering
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 PartialOrd for SocialPostMaterializationCursor
impl PartialOrd for SocialPostMaterializationCursor
Source§impl Serialize for SocialPostMaterializationCursor
impl Serialize for SocialPostMaterializationCursor
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SocialPostMaterializationCursor
Auto Trait Implementations§
impl Freeze for SocialPostMaterializationCursor
impl RefUnwindSafe for SocialPostMaterializationCursor
impl Send for SocialPostMaterializationCursor
impl Sync for SocialPostMaterializationCursor
impl Unpin for SocialPostMaterializationCursor
impl UnsafeUnpin for SocialPostMaterializationCursor
impl UnwindSafe for SocialPostMaterializationCursor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<F, T> ExpectFrom<F> for T
impl<F, T> ExpectFrom<F> for T
fn expect_from(other: F) -> T
Source§impl<F, I> ExpectInto<I> for Fwhere
I: ExpectFrom<F>,
impl<F, I> ExpectInto<I> for Fwhere
I: ExpectFrom<F>,
fn expect_into(self) -> I
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more