Enum embedded_svc::ipv4::ClientConfiguration
source · [−]pub enum ClientConfiguration {
DHCP(DHCPClientSettings),
Fixed(ClientSettings),
}Variants
DHCP(DHCPClientSettings)
Fixed(ClientSettings)
Implementations
sourceimpl ClientConfiguration
impl ClientConfiguration
pub fn as_fixed_settings_ref(&self) -> Option<&ClientSettings>
pub fn as_fixed_settings_mut(&mut self) -> &mut ClientSettings
Trait Implementations
sourceimpl Clone for ClientConfiguration
impl Clone for ClientConfiguration
sourcefn clone(&self) -> ClientConfiguration
fn clone(&self) -> ClientConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ClientConfiguration
impl Debug for ClientConfiguration
sourceimpl Default for ClientConfiguration
impl Default for ClientConfiguration
sourcefn default() -> ClientConfiguration
fn default() -> ClientConfiguration
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ClientConfiguration
impl<'de> Deserialize<'de> for ClientConfiguration
sourcefn 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
sourceimpl PartialEq<ClientConfiguration> for ClientConfiguration
impl PartialEq<ClientConfiguration> for ClientConfiguration
sourcefn eq(&self, other: &ClientConfiguration) -> bool
fn eq(&self, other: &ClientConfiguration) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ClientConfiguration) -> bool
fn ne(&self, other: &ClientConfiguration) -> bool
This method tests for !=.
sourceimpl Serialize for ClientConfiguration
impl Serialize for ClientConfiguration
impl StructuralPartialEq for ClientConfiguration
Auto Trait Implementations
impl RefUnwindSafe for ClientConfiguration
impl Send for ClientConfiguration
impl Sync for ClientConfiguration
impl Unpin for ClientConfiguration
impl UnwindSafe for ClientConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more