Trait ContextPayloadExt

Source
pub trait ContextPayloadExt:
    Any
    + Send
    + Sync
    + Serialize
    + Deserialize {
    // Required method
    fn as_any(&self) -> &dyn Any;
}

Required Methods§

Source

fn as_any(&self) -> &dyn Any

Trait Implementations§

Source§

impl<'typetag> Serialize for dyn ContextPayloadExt + 'typetag

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'typetag> Serialize for dyn ContextPayloadExt + Send + 'typetag

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'typetag> Serialize for dyn ContextPayloadExt + Send + Sync + 'typetag

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl<'typetag> Serialize for dyn ContextPayloadExt + Sync + 'typetag

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more

Implementors§