pub struct Session {
pub device: UlcpDevice<SessionLink>,
pub target: Target,
pub label: String,
pub tap: Rc<RefCell<Option<PcapWriter>>>,
}Expand description
An attached device plus everything needed to describe it, tap it, and re-open it.
Fields§
§device: UlcpDevice<SessionLink>§target: Target§label: String§tap: Rc<RefCell<Option<PcapWriter>>>Implementations§
Auto Trait Implementations§
impl !Freeze for Session
impl !RefUnwindSafe for Session
impl !Send for Session
impl !Sync for Session
impl Unpin for Session
impl !UnwindSafe for Session
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