pub enum CreateClientIfacesReason {
StartClientConnections,
RecoverClientIfaces,
}
Expand description
There are a variety of reasons why the calling code may want to create client interfaces. The main logic to do so is identical, but there are different intents for making the call. This enum allows callers to express their intent when making the call to ensure that internal PhyManager state remains consistent with the current desired mode of operation.
Variants§
Trait Implementations§
source§impl PartialEq for CreateClientIfacesReason
impl PartialEq for CreateClientIfacesReason
source§fn eq(&self, other: &CreateClientIfacesReason) -> bool
fn eq(&self, other: &CreateClientIfacesReason) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateClientIfacesReason
Auto Trait Implementations§
impl Freeze for CreateClientIfacesReason
impl RefUnwindSafe for CreateClientIfacesReason
impl Send for CreateClientIfacesReason
impl Sync for CreateClientIfacesReason
impl Unpin for CreateClientIfacesReason
impl UnwindSafe for CreateClientIfacesReason
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