Enum diem_sdk::client::stream::request::StreamMethod [−]
pub enum StreamMethod {
SubscribeToTransactions,
SubscribeToEvents,
Unsubscribe,
}
Variants
Implementations
impl StreamMethod
impl StreamMethod
Trait Implementations
impl Clone for StreamMethod
impl Clone for StreamMethod
pub fn clone(&self) -> StreamMethod
pub fn clone(&self) -> StreamMethod
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for StreamMethod
impl Debug for StreamMethod
impl<'de> Deserialize<'de> for StreamMethod
impl<'de> Deserialize<'de> for StreamMethod
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<StreamMethod, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<StreamMethod, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Hash for StreamMethod
impl Hash for StreamMethod
impl PartialEq<StreamMethod> for StreamMethod
impl PartialEq<StreamMethod> for StreamMethod
impl Serialize for StreamMethod
impl Serialize for StreamMethod
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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 Copy for StreamMethod
impl Eq for StreamMethod
impl StructuralEq for StreamMethod
impl StructuralPartialEq for StreamMethod
Auto Trait Implementations
impl RefUnwindSafe for StreamMethod
impl Send for StreamMethod
impl Sync for StreamMethod
impl Unpin for StreamMethod
impl UnwindSafe for StreamMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Generates a hash used only for tests.
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more