#[non_exhaustive]pub enum ScanUpdate {
Transaction(ScanTransaction),
Reassignment(ScanReassignment),
}Expand description
One entry of the update history.
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.
Transaction(ScanTransaction)
A transaction.
Reassignment(ScanReassignment)
A contract leaving one synchronizer or arriving on another.
Implementations§
Source§impl ScanUpdate
impl ScanUpdate
Trait Implementations§
Source§impl Clone for ScanUpdate
impl Clone for ScanUpdate
Source§impl Debug for ScanUpdate
impl Debug for ScanUpdate
Source§impl<'de> Deserialize<'de> for ScanUpdate
The API gives the two kinds of update no tag to tell them by: a
transaction is the one with events, a reassignment the one with an event.
impl<'de> Deserialize<'de> for ScanUpdate
The API gives the two kinds of update no tag to tell them by: a transaction is the one with events, a reassignment the one with an event.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for ScanUpdate
impl Freeze for ScanUpdate
impl Move for ScanUpdate
impl RefUnwindSafe for ScanUpdate
impl Send for ScanUpdate
impl Sync for ScanUpdate
impl Unpin for ScanUpdate
impl UnsafeUnpin for ScanUpdate
impl UnwindSafe for ScanUpdate
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request