1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use crate::debug_probe::MasterProbe; use crate::target::Target; pub struct Session { pub target: Target, pub probe: MasterProbe, } impl Session { /// Open a new session with a given debug target pub fn new(target: Target, probe: MasterProbe) -> Self { Self { target: target, probe: probe, } } }