pub enum CommunicationMode {
PointToPoint(String),
Broadcast,
PubSub(String),
}Expand description
通信模式枚举
Variants§
Trait Implementations§
Source§impl Clone for CommunicationMode
impl Clone for CommunicationMode
Source§fn clone(&self) -> CommunicationMode
fn clone(&self) -> CommunicationMode
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 CommunicationMode
impl Debug for CommunicationMode
Source§impl<'de> Deserialize<'de> for CommunicationMode
impl<'de> Deserialize<'de> for CommunicationMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CommunicationMode
impl Hash for CommunicationMode
Source§impl PartialEq for CommunicationMode
impl PartialEq for CommunicationMode
Source§impl Serialize for CommunicationMode
impl Serialize for CommunicationMode
impl Eq for CommunicationMode
impl StructuralPartialEq for CommunicationMode
Auto Trait Implementations§
impl Freeze for CommunicationMode
impl RefUnwindSafe for CommunicationMode
impl Send for CommunicationMode
impl Sync for CommunicationMode
impl Unpin for CommunicationMode
impl UnsafeUnpin for CommunicationMode
impl UnwindSafe for CommunicationMode
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