pub struct MeshHome {
pub driver: JoinHandle<UlcpDevice<SessionLink>>,
pub local_target: Target,
pub local_label: String,
pub tap: Rc<RefCell<Option<PcapWriter>>>,
}Expand description
What a mesh session borrowed, and how to give it back.
The driver task owns the radio for as long as the session lasts; its join handle is how the radio comes home, and the rest is what the local session was called before it was lent out.
Fields§
§driver: JoinHandle<UlcpDevice<SessionLink>>§local_target: Target§local_label: String§tap: Rc<RefCell<Option<PcapWriter>>>Auto Trait Implementations§
impl Freeze for MeshHome
impl !RefUnwindSafe for MeshHome
impl !Send for MeshHome
impl !Sync for MeshHome
impl Unpin for MeshHome
impl !UnwindSafe for MeshHome
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more