#[repr(u8)]pub enum TransportMode {
Tcp = 0,
Udp = 1,
Tls = 2,
UdpMulticast = 3,
TlsBearSsl = 4,
}
Expand description
Defines the mode types that the ESP32 firmware can be put into when starting a new client or server instance
Variants§
Tcp = 0
TCP mode
Udp = 1
UDP mode
Tls = 2
TLS mode
UdpMulticast = 3
UDP multicast mode
TlsBearSsl = 4
TLS BearSSL mode
Trait Implementations§
Source§impl Clone for TransportMode
impl Clone for TransportMode
Source§fn clone(&self) -> TransportMode
fn clone(&self) -> TransportMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TransportMode
impl Debug for TransportMode
Source§impl PartialEq for TransportMode
impl PartialEq for TransportMode
impl Copy for TransportMode
impl Eq for TransportMode
impl StructuralPartialEq for TransportMode
Auto Trait Implementations§
impl Freeze for TransportMode
impl RefUnwindSafe for TransportMode
impl Send for TransportMode
impl Sync for TransportMode
impl Unpin for TransportMode
impl UnwindSafe for TransportMode
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