pub struct EthernetWebsocketConfiguration {
pub sockets: u8,
pub port: u16,
}
Fields§
§sockets: u8
§port: u16
Trait Implementations§
Source§impl Clone for EthernetWebsocketConfiguration
impl Clone for EthernetWebsocketConfiguration
Source§fn clone(&self) -> EthernetWebsocketConfiguration
fn clone(&self) -> EthernetWebsocketConfiguration
Returns a copy 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 Default for EthernetWebsocketConfiguration
impl Default for EthernetWebsocketConfiguration
Source§fn default() -> EthernetWebsocketConfiguration
fn default() -> EthernetWebsocketConfiguration
Returns the “default value” for a type. Read more
Source§impl FromByteSlice for EthernetWebsocketConfiguration
impl FromByteSlice for EthernetWebsocketConfiguration
Source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
Source§fn from_le_byte_slice(bytes: &[u8]) -> EthernetWebsocketConfiguration
fn from_le_byte_slice(bytes: &[u8]) -> EthernetWebsocketConfiguration
Deserialize the implementing type from a byte slice.
Source§impl PartialEq for EthernetWebsocketConfiguration
impl PartialEq for EthernetWebsocketConfiguration
Source§fn eq(&self, other: &EthernetWebsocketConfiguration) -> bool
fn eq(&self, other: &EthernetWebsocketConfiguration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Copy for EthernetWebsocketConfiguration
impl Eq for EthernetWebsocketConfiguration
impl StructuralPartialEq for EthernetWebsocketConfiguration
Auto Trait Implementations§
impl Freeze for EthernetWebsocketConfiguration
impl RefUnwindSafe for EthernetWebsocketConfiguration
impl Send for EthernetWebsocketConfiguration
impl Sync for EthernetWebsocketConfiguration
impl Unpin for EthernetWebsocketConfiguration
impl UnwindSafe for EthernetWebsocketConfiguration
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