pub enum ClientToHostOobCommands {
ConnectType(ConnectRequest),
}
Variants§
ConnectType(ConnectRequest)
Implementations§
source§impl ClientToHostOobCommands
impl ClientToHostOobCommands
pub fn to_octet(&self) -> u8
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<(), Error>
pub fn from_stream( stream: &mut impl ReadOctetStream, ) -> Result<ClientToHostOobCommands, Error>
Trait Implementations§
source§impl Clone for ClientToHostOobCommands
impl Clone for ClientToHostOobCommands
source§fn clone(&self) -> ClientToHostOobCommands
fn clone(&self) -> ClientToHostOobCommands
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClientToHostOobCommands
impl Debug for ClientToHostOobCommands
Auto Trait Implementations§
impl Freeze for ClientToHostOobCommands
impl RefUnwindSafe for ClientToHostOobCommands
impl Send for ClientToHostOobCommands
impl Sync for ClientToHostOobCommands
impl Unpin for ClientToHostOobCommands
impl UnwindSafe for ClientToHostOobCommands
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)