Enum tdn::prelude::ReceiveMessage [−][src]
pub enum ReceiveMessage {
Group(RecvType),
Layer(GroupId, RecvType),
Rpc(u64, Value, bool),
NetworkLost,
}
Expand description
channel message receive from TDN for std version.
Variants
Group(RecvType)
Tuple Fields
0: RecvType
Group: GroupMessage.
Layer(GroupId, RecvType)
Layer: LayerMessage. Take care of Leave
.
Rpc(u64, Value, bool)
RPC: connection uid, request params, is websocket.
NetworkLost
when network lost all DHT network and direct stables. will tell outside.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ReceiveMessage
impl Send for ReceiveMessage
impl Sync for ReceiveMessage
impl Unpin for ReceiveMessage
impl !UnwindSafe for ReceiveMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
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