pub struct TransportWrapperBuilder { /* private fields */ }
Implementations§
Source§impl TransportWrapperBuilder
impl TransportWrapperBuilder
pub fn new(interface: String, disable_dft_on_reset: bool) -> Self
pub fn add_configuration_file(&mut self, file: ConfigurationFile) -> Result<()>
pub fn get_interface(&self) -> &str
pub fn set_openocd_adapter_config( &mut self, openocd_adapter_config: &Option<PathBuf>, )
pub fn build(self, transport: Box<dyn Transport>) -> Result<TransportWrapper>
Auto Trait Implementations§
impl Freeze for TransportWrapperBuilder
impl RefUnwindSafe for TransportWrapperBuilder
impl Send for TransportWrapperBuilder
impl Sync for TransportWrapperBuilder
impl Unpin for TransportWrapperBuilder
impl UnwindSafe for TransportWrapperBuilder
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