#[repr(C)]pub enum SchemalessProtocol {
Unknown = 0,
Line = 1,
Telnet = 2,
Json = 3,
}
Variants§
Trait Implementations§
Source§impl Clone for SchemalessProtocol
impl Clone for SchemalessProtocol
Source§fn clone(&self) -> SchemalessProtocol
fn clone(&self) -> SchemalessProtocol
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 SchemalessProtocol
impl Debug for SchemalessProtocol
Source§impl Default for SchemalessProtocol
impl Default for SchemalessProtocol
Source§fn default() -> SchemalessProtocol
fn default() -> SchemalessProtocol
Returns the “default value” for a type. Read more
impl Copy for SchemalessProtocol
Auto Trait Implementations§
impl Freeze for SchemalessProtocol
impl RefUnwindSafe for SchemalessProtocol
impl Send for SchemalessProtocol
impl Sync for SchemalessProtocol
impl Unpin for SchemalessProtocol
impl UnwindSafe for SchemalessProtocol
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more