[][src]Struct probe_rs::architecture::riscv::communication_interface::RiscvCommunicationInterface

pub struct RiscvCommunicationInterface<'probe> { /* fields omitted */ }

Implementations

impl<'probe> RiscvCommunicationInterface<'probe>[src]

pub fn new(
    probe: &'probe mut Probe,
    state: &'probe mut RiscvCommunicationInterfaceState
) -> Result<Option<Self>, ProbeRsError>
[src]

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]

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.