pub enum ClientToHostCommands {
ChallengeType(ClientToHostChallengeCommand),
ConnectType(ConnectCommand),
PacketType(ClientToHostPacket),
}Variants§
ChallengeType(ClientToHostChallengeCommand)
ConnectType(ConnectCommand)
PacketType(ClientToHostPacket)
Implementations§
Source§impl ClientToHostCommands
impl ClientToHostCommands
pub fn to_stream(&self, stream: &mut impl WriteOctetStream) -> Result<()>
pub fn from_stream(stream: &mut impl ReadOctetStream) -> Result<Self>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientToHostCommands
impl RefUnwindSafe for ClientToHostCommands
impl Send for ClientToHostCommands
impl Sync for ClientToHostCommands
impl Unpin for ClientToHostCommands
impl UnwindSafe for ClientToHostCommands
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