Enum ctru::services::uds::ServiceStatus
source · pub enum ServiceStatus {
Disconnected,
Client,
Server,
}
Expand description
Status of the service handle.
Variants§
Disconnected
Not connected to or hosting a network.
Client
Connected to a network.
Server
Hosting a network.
Trait Implementations§
source§impl Clone for ServiceStatus
impl Clone for ServiceStatus
source§fn clone(&self) -> ServiceStatus
fn clone(&self) -> ServiceStatus
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 ServiceStatus
impl Debug for ServiceStatus
source§impl PartialEq for ServiceStatus
impl PartialEq for ServiceStatus
source§fn eq(&self, other: &ServiceStatus) -> bool
fn eq(&self, other: &ServiceStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ServiceStatus
impl Eq for ServiceStatus
impl StructuralPartialEq for ServiceStatus
Auto Trait Implementations§
impl RefUnwindSafe for ServiceStatus
impl Send for ServiceStatus
impl Sync for ServiceStatus
impl Unpin for ServiceStatus
impl UnwindSafe for ServiceStatus
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