pub enum RelatedMode {
StateOnce,
StateOnceThenDeltas,
StateEvery,
StateThenStateAndDeltas,
}
Expand description
Specification of the notifications of interest from a related contract.
Variants§
StateOnce
Retrieve the state once, not concerned with subsequent changes.
StateOnceThenDeltas
Retrieve the state once, and then supply deltas from then on.
StateEvery
Retrieve the state and then provide new states every time it updates.
StateThenStateAndDeltas
Retrieve the state and then provide new states and deltas every time it updates.
Trait Implementations§
Source§impl Debug for RelatedMode
impl Debug for RelatedMode
Source§impl<'de> Deserialize<'de> for RelatedMode
impl<'de> Deserialize<'de> for RelatedMode
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
Auto Trait Implementations§
impl Freeze for RelatedMode
impl RefUnwindSafe for RelatedMode
impl Send for RelatedMode
impl Sync for RelatedMode
impl Unpin for RelatedMode
impl UnwindSafe for RelatedMode
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