opentitanlib::test_utils::rpc

Trait ConsoleSend

Source
pub trait ConsoleSend<T>
where T: ConsoleDevice + ?Sized,
{ // Required methods fn send(&self, device: &T) -> Result<()>; fn send_with_crc(&self, device: &T) -> Result<()>; }

Required Methods§

Source

fn send(&self, device: &T) -> Result<()>

Source

fn send_with_crc(&self, device: &T) -> Result<()>

Implementors§

Source§

impl<T, U> ConsoleSend<T> for U
where T: ConsoleDevice + ?Sized, U: Serialize,