[−][src]Struct probe_rs::architecture::riscv::communication_interface::RiscvCommunicationInterface
Implementations
impl<'probe> RiscvCommunicationInterface<'probe>
[src]
pub fn new(
probe: &'probe mut Probe,
state: &'probe mut RiscvCommunicationInterfaceState
) -> Result<Option<Self>, ProbeRsError>
[src]
probe: &'probe mut Probe,
state: &'probe mut RiscvCommunicationInterfaceState
) -> Result<Option<Self>, ProbeRsError>
pub fn reborrow(&mut self) -> RiscvCommunicationInterface<'_>
[src]
Reborrows the RiscvCommunicationInterface
at hand.
This borrows the references inside the interface and hands them out with a new interface.
This method replaces the normally called ::clone()
method which consumes the object,
which is not what we want.
Trait Implementations
impl<'probe> MemoryInterface for RiscvCommunicationInterface<'probe>
[src]
fn read_word_32(&mut self, address: u32) -> Result<u32, Error>
[src]
fn read_word_8(&mut self, address: u32) -> Result<u8, Error>
[src]
fn read_32(&mut self, address: u32, data: &mut [u32]) -> Result<(), Error>
[src]
fn read_8(&mut self, address: u32, data: &mut [u8]) -> Result<(), Error>
[src]
fn write_word_32(&mut self, address: u32, data: u32) -> Result<(), Error>
[src]
fn write_word_8(&mut self, address: u32, data: u8) -> Result<(), Error>
[src]
fn write_32(&mut self, address: u32, data: &[u32]) -> Result<(), Error>
[src]
fn write_8(&mut self, address: u32, data: &[u8]) -> Result<(), Error>
[src]
fn flush(&mut self) -> Result<(), Error>
[src]
Auto Trait Implementations
impl<'probe> !RefUnwindSafe for RiscvCommunicationInterface<'probe>
impl<'probe> Send for RiscvCommunicationInterface<'probe>
impl<'probe> Sync for RiscvCommunicationInterface<'probe>
impl<'probe> Unpin for RiscvCommunicationInterface<'probe>
impl<'probe> !UnwindSafe for RiscvCommunicationInterface<'probe>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,