Struct trezor_client::transport::protocol::ProtocolV2
source · pub struct ProtocolV2<L: Link> {
pub link: L,
pub session_id: u32,
}
Expand description
V2 of the binary protocol. This version is currently not in use by any device and is subject to change.
Fields§
§link: L
§session_id: u32
Trait Implementations§
Auto Trait Implementations§
impl<L> RefUnwindSafe for ProtocolV2<L>where
L: RefUnwindSafe,
impl<L> Send for ProtocolV2<L>where
L: Send,
impl<L> Sync for ProtocolV2<L>where
L: Sync,
impl<L> Unpin for ProtocolV2<L>where
L: Unpin,
impl<L> UnwindSafe for ProtocolV2<L>where
L: UnwindSafe,
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