pub struct EmptyTransport;Expand description
An EmptyTransport provides no communications backend.
Trait Implementations§
Source§impl Transport for EmptyTransport
impl Transport for EmptyTransport
Source§fn capabilities(&self) -> Result<Capabilities>
fn capabilities(&self) -> Result<Capabilities>
Returns a
Capabilities object to check the capabilities of this
transport object.Source§fn apply_default_configuration(&self) -> Result<()>
fn apply_default_configuration(&self) -> Result<()>
Resets the transport to power-on condition. That is, pin/uart/spi configuration reverts
to default, ongoing operations are cancelled, etc.
Source§fn jtag(&self, _opts: &JtagParams) -> Result<Box<dyn JtagChain + '_>>
fn jtag(&self, _opts: &JtagParams) -> Result<Box<dyn JtagChain + '_>>
Returns a
JtagChain implementation.Source§fn gpio_pin(&self, _instance: &str) -> Result<Rc<dyn GpioPin>>
fn gpio_pin(&self, _instance: &str) -> Result<Rc<dyn GpioPin>>
Returns a
GpioPin implementation.Source§fn gpio_monitoring(&self) -> Result<Rc<dyn GpioMonitoring>>
fn gpio_monitoring(&self) -> Result<Rc<dyn GpioMonitoring>>
Returns a
GpioMonitoring implementation, for logic analyzer functionality.Source§fn gpio_bitbanging(&self) -> Result<Rc<dyn GpioBitbanging>>
fn gpio_bitbanging(&self) -> Result<Rc<dyn GpioBitbanging>>
Returns a
GpioBitbanging implementation, for timed and synchronized manipulation of
multiple GPIO pins.Auto Trait Implementations§
impl Freeze for EmptyTransport
impl RefUnwindSafe for EmptyTransport
impl Send for EmptyTransport
impl Sync for EmptyTransport
impl Unpin for EmptyTransport
impl UnwindSafe for EmptyTransport
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