pub enum CommandTransport {
Auto,
Rest,
WebSocket,
}Expand description
Transport path chosen for a command attempt.
Variants§
Trait Implementations§
Source§impl Clone for CommandTransport
impl Clone for CommandTransport
Source§fn clone(&self) -> CommandTransport
fn clone(&self) -> CommandTransport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CommandTransport
Source§impl Debug for CommandTransport
impl Debug for CommandTransport
Source§impl<'de> Deserialize<'de> for CommandTransport
impl<'de> Deserialize<'de> for CommandTransport
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
impl Eq for CommandTransport
Source§impl PartialEq for CommandTransport
impl PartialEq for CommandTransport
Source§fn eq(&self, other: &CommandTransport) -> bool
fn eq(&self, other: &CommandTransport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CommandTransport
impl Serialize for CommandTransport
impl StructuralPartialEq for CommandTransport
Auto Trait Implementations§
impl Freeze for CommandTransport
impl RefUnwindSafe for CommandTransport
impl Send for CommandTransport
impl Sync for CommandTransport
impl Unpin for CommandTransport
impl UnsafeUnpin for CommandTransport
impl UnwindSafe for CommandTransport
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