Struct trezor_client::transport::udp::UdpTransport
source · pub struct UdpTransport { /* private fields */ }
Expand description
An implementation of the Transport interface for UDP devices.
Implementations§
source§impl UdpTransport
impl UdpTransport
Trait Implementations§
source§impl Transport for UdpTransport
impl Transport for UdpTransport
fn session_begin(&mut self) -> Result<(), Error>
fn session_end(&mut self) -> Result<(), Error>
fn write_message(&mut self, message: ProtoMessage) -> Result<(), Error>
fn read_message(&mut self) -> Result<ProtoMessage, Error>
Auto Trait Implementations§
impl Freeze for UdpTransport
impl RefUnwindSafe for UdpTransport
impl Send for UdpTransport
impl Sync for UdpTransport
impl Unpin for UdpTransport
impl UnwindSafe for UdpTransport
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