pub enum IncomingDeviceCommand {
TabReceived {
sender: Option<Device>,
payload: SendTabPayload,
},
}
Expand description
A command invoked by another device.
This enum represents all possible commands that can be invoked on the device. It is the responsibility of the application to interpret each command.
Variants§
TabReceived
Indicates that a tab has been sent to this device.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for IncomingDeviceCommand
impl Send for IncomingDeviceCommand
impl Sync for IncomingDeviceCommand
impl Unpin for IncomingDeviceCommand
impl UnwindSafe for IncomingDeviceCommand
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