pub enum HostToClientOobCommands {
ConnectType(ConnectionAccepted),
}
Variants§
ConnectType(ConnectionAccepted)
Implementations§
source§impl HostToClientOobCommands
impl HostToClientOobCommands
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<HostToClientOobCommands, Error>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HostToClientOobCommands
impl RefUnwindSafe for HostToClientOobCommands
impl Send for HostToClientOobCommands
impl Sync for HostToClientOobCommands
impl Unpin for HostToClientOobCommands
impl UnwindSafe for HostToClientOobCommands
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