pub enum InputChannel {
Empty,
InputChannel(InputChannel),
FromMessage(InputChannelFromMessage),
}Expand description
Variants§
Trait Implementations§
Source§impl Clone for InputChannel
impl Clone for InputChannel
Source§fn clone(&self) -> InputChannel
fn clone(&self) -> InputChannel
Returns a duplicate 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 InputChannel
impl Debug for InputChannel
Source§impl Deserializable for InputChannel
impl Deserializable for InputChannel
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputChannel> for InputChannel
impl From<InputChannel> for InputChannel
Source§fn from(x: InputChannel) -> Self
fn from(x: InputChannel) -> Self
Converts to this type from the input type.
Source§impl From<InputChannelEmpty> for InputChannel
impl From<InputChannelEmpty> for InputChannel
Source§fn from(_x: InputChannelEmpty) -> Self
fn from(_x: InputChannelEmpty) -> Self
Converts to this type from the input type.
Source§impl From<InputChannelFromMessage> for InputChannel
impl From<InputChannelFromMessage> for InputChannel
Source§fn from(x: InputChannelFromMessage) -> Self
fn from(x: InputChannelFromMessage) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InputChannel
impl PartialEq for InputChannel
Source§impl Serializable for InputChannel
impl Serializable for InputChannel
Source§impl TryFrom<InputChannel> for InputChannel
impl TryFrom<InputChannel> for InputChannel
Source§type Error = InputChannel
type Error = InputChannel
The type returned in the event of a conversion error.
Source§impl TryFrom<InputChannel> for InputChannelFromMessage
impl TryFrom<InputChannel> for InputChannelFromMessage
Source§type Error = InputChannel
type Error = InputChannel
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputChannel
Auto Trait Implementations§
impl Freeze for InputChannel
impl RefUnwindSafe for InputChannel
impl Send for InputChannel
impl Sync for InputChannel
impl Unpin for InputChannel
impl UnsafeUnpin for InputChannel
impl UnwindSafe for InputChannel
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