pub enum SendMessage {
Own(SendType),
Group(SendType),
Layer(GroupId, SendType),
Rpc(u64, RpcParam, bool),
Network(NetworkType),
}Expand description
channel message send to TDN for std version.
Variants§
Own(SendType)
P2P network with same PeerId.
Group(SendType)
Group: GroupMessage.
Layer(GroupId, SendType)
Layer: LayerMessage.
Rpc(u64, RpcParam, bool)
RPC: connection uid, request params, is websocket.
Network(NetworkType)
Network: Control the Network state.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SendMessage
impl RefUnwindSafe for SendMessage
impl Send for SendMessage
impl Sync for SendMessage
impl Unpin for SendMessage
impl UnwindSafe for SendMessage
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