pub enum HubRouteSend {
Networked {
uid_alloc: Arc<Mutex<u64>>,
tx_write_arc: Arc<Mutex<Option<Sender<ToHubMsg>>>>,
own_addr_arc: Arc<Mutex<Option<HubAddr>>>,
},
Direct {
uid_alloc: Arc<Mutex<u64>>,
tx_pump: Sender<(HubAddr, ToHubMsg)>,
own_addr: HubAddr,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HubRouteSend
impl Clone for HubRouteSend
Source§fn clone(&self) -> HubRouteSend
fn clone(&self) -> HubRouteSend
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for HubRouteSend
impl RefUnwindSafe for HubRouteSend
impl Send for HubRouteSend
impl Sync for HubRouteSend
impl Unpin for HubRouteSend
impl UnwindSafe for HubRouteSend
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