#[non_exhaustive]pub enum DataCommand {
Request(RequestCommand),
Subscribe(SubscribeCommand),
Unsubscribe(UnsubscribeCommand),
DefiSubscribe(DefiSubscribeCommand),
DefiUnsubscribe(DefiUnsubscribeCommand),
}
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.
Request(RequestCommand)
Subscribe(SubscribeCommand)
Unsubscribe(UnsubscribeCommand)
DefiSubscribe(DefiSubscribeCommand)
DefiUnsubscribe(DefiUnsubscribeCommand)
Implementations§
Trait Implementations§
Source§impl Clone for DataCommand
impl Clone for DataCommand
Source§fn clone(&self) -> DataCommand
fn clone(&self) -> DataCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DataCommand
impl Debug for DataCommand
Source§impl PartialEq for DataCommand
impl PartialEq for DataCommand
impl StructuralPartialEq for DataCommand
Auto Trait Implementations§
impl Freeze for DataCommand
impl RefUnwindSafe for DataCommand
impl Send for DataCommand
impl Sync for DataCommand
impl Unpin for DataCommand
impl UnwindSafe for DataCommand
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