pub enum RelatedMode {
StateOnce,
StateThenSubscribe,
}
Expand description
Specification of the notifications of interest from a related contract.
Variants§
StateOnce
Retrieve the state once, don’t be concerned with subsequent changes.
StateThenSubscribe
Retrieve the state once, and then subscribe to 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