Enum disarray_network::signals::ControlSignal
source · pub enum ControlSignal {
ConnectNewPeer(ConnectRequest),
BroadcastMessage(Message),
}
Variants
ConnectNewPeer(ConnectRequest)
BroadcastMessage(Message)
Trait Implementations
sourceimpl Clone for ControlSignal
impl Clone for ControlSignal
sourcefn clone(&self) -> ControlSignal
fn clone(&self) -> ControlSignal
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for ControlSignal
impl Send for ControlSignal
impl Sync for ControlSignal
impl Unpin for ControlSignal
impl UnwindSafe for ControlSignal
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more