Enum embedded_svc::ipv4::ClientConfiguration
source · pub enum ClientConfiguration {
DHCP(DHCPClientSettings),
Fixed(ClientSettings),
}
Variants§
DHCP(DHCPClientSettings)
Fixed(ClientSettings)
Implementations§
source§impl ClientConfiguration
impl ClientConfiguration
pub fn as_fixed_settings_ref(&self) -> Option<&ClientSettings>
pub fn as_fixed_settings_mut(&mut self) -> &mut ClientSettings
Trait Implementations§
source§impl Clone for ClientConfiguration
impl Clone for ClientConfiguration
source§fn clone(&self) -> ClientConfiguration
fn clone(&self) -> ClientConfiguration
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ClientConfiguration
impl Debug for ClientConfiguration
source§impl Default for ClientConfiguration
impl Default for ClientConfiguration
source§fn default() -> ClientConfiguration
fn default() -> ClientConfiguration
Returns the “default value” for a type. Read more
source§impl PartialEq for ClientConfiguration
impl PartialEq for ClientConfiguration
source§fn 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 ==
.impl Eq for ClientConfiguration
impl StructuralPartialEq for ClientConfiguration
Auto Trait Implementations§
impl Freeze for ClientConfiguration
impl RefUnwindSafe for ClientConfiguration
impl Send for ClientConfiguration
impl Sync for ClientConfiguration
impl Unpin for ClientConfiguration
impl UnwindSafe for ClientConfiguration
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)