Enum delegate::wire_format::DelegateMessage
source · pub enum DelegateMessage {
HostToGuest(HostToGuestMessage),
GuestToHost(GuestToHostMessage),
}
Variants§
HostToGuest(HostToGuestMessage)
GuestToHost(GuestToHostMessage)
Implementations§
source§impl DelegateMessage
impl DelegateMessage
pub fn assume_host_to_guest(self) -> HostToGuestMessage
pub fn assume_guest_to_host(self) -> GuestToHostMessage
Trait Implementations§
source§impl Clone for DelegateMessage
impl Clone for DelegateMessage
source§fn clone(&self) -> DelegateMessage
fn clone(&self) -> DelegateMessage
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 DelegateMessage
impl Debug for DelegateMessage
source§impl<'de> Deserialize<'de> for DelegateMessage
impl<'de> Deserialize<'de> for DelegateMessage
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for DelegateMessage
impl Send for DelegateMessage
impl Sync for DelegateMessage
impl Unpin for DelegateMessage
impl UnwindSafe for DelegateMessage
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