[−][src]Enum wayk_proto::message::NowVirtualChannel
Variants
Clipboard(NowClipboardMsg<'a>)
Chat(NowChatMsg)
Custom(CustomVirtualChannel<'a>)
Implementations
impl<'a> NowVirtualChannel<'a>
[src]
pub fn decode_from<'dec: 'a>(
channel: &ChannelName,
cursor: &mut Cursor<&'dec [u8]>
) -> Result<Self>
[src]
channel: &ChannelName,
cursor: &mut Cursor<&'dec [u8]>
) -> Result<Self>
pub fn get_name(&self) -> &ChannelName
[src]
Trait Implementations
impl<'a> Clone for NowVirtualChannel<'a>
[src]
fn clone(&self) -> NowVirtualChannel<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for NowVirtualChannel<'a>
[src]
impl<'a> Encode for NowVirtualChannel<'a>
[src]
fn encoded_len(&self) -> usize
[src]
fn encode_into<W: Write>(&self, writer: &mut W) -> Result<(), ProtoError>
[src]
fn encode(&self) -> Result<Vec<u8>, ProtoError> where
Self: Sized,
[src]
Self: Sized,
impl<'a> From<CustomVirtualChannel<'a>> for NowVirtualChannel<'a>
[src]
fn from(msg: CustomVirtualChannel<'a>) -> Self
[src]
impl From<NowChatMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowChatMsg) -> Self
[src]
impl From<NowChatNameMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowChatNameMsg) -> Self
[src]
impl From<NowChatPokeMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowChatPokeMsg) -> Self
[src]
impl From<NowChatReadMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowChatReadMsg) -> Self
[src]
impl From<NowChatStatusMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowChatStatusMsg) -> Self
[src]
impl From<NowChatSyncMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowChatSyncMsg) -> Self
[src]
impl From<NowChatTextMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowChatTextMsg) -> Self
[src]
impl From<NowChatTypingMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowChatTypingMsg) -> Self
[src]
impl From<NowClipboardCapabilitiesReqMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardCapabilitiesReqMsg) -> Self
[src]
impl From<NowClipboardCapabilitiesRspMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardCapabilitiesRspMsg) -> Self
[src]
impl From<NowClipboardControlReqMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardControlReqMsg) -> Self
[src]
impl From<NowClipboardControlRspMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardControlRspMsg) -> Self
[src]
impl From<NowClipboardFormatDataReqMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardFormatDataReqMsg) -> Self
[src]
impl<'a> From<NowClipboardFormatDataRspMsg<'a>> for NowVirtualChannel<'a>
[src]
fn from(msg: NowClipboardFormatDataRspMsg<'a>) -> Self
[src]
impl From<NowClipboardFormatDataRspMsgOwned> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardFormatDataRspMsgOwned) -> Self
[src]
impl From<NowClipboardFormatListReqMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardFormatListReqMsg) -> Self
[src]
impl From<NowClipboardFormatListRspMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardFormatListRspMsg) -> Self
[src]
impl<'a> From<NowClipboardMsg<'a>> for NowVirtualChannel<'a>
[src]
fn from(msg: NowClipboardMsg<'a>) -> Self
[src]
impl From<NowClipboardResumeReqMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardResumeReqMsg) -> Self
[src]
impl From<NowClipboardResumeRspMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardResumeRspMsg) -> Self
[src]
impl From<NowClipboardSuspendReqMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardSuspendReqMsg) -> Self
[src]
impl From<NowClipboardSuspendRspMsg> for NowVirtualChannel<'_>
[src]
fn from(msg: NowClipboardSuspendRspMsg) -> Self
[src]
impl<'a> From<NowVirtualChannel<'a>> for NowBody<'a>
[src]
fn from(virt_channel: NowVirtualChannel<'a>) -> Self
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for NowVirtualChannel<'a>
[src]
impl<'a> Send for NowVirtualChannel<'a>
[src]
impl<'a> Sync for NowVirtualChannel<'a>
[src]
impl<'a> Unpin for NowVirtualChannel<'a>
[src]
impl<'a> UnwindSafe for NowVirtualChannel<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,