Enum phidget::net::ServerType
source · #[repr(u32)]pub enum ServerType {
None = 0,
DeviceListener = 1,
Device = 2,
DeviceRemote = 3,
WwwListener = 4,
Www = 5,
WwwRemote = 6,
Sbc = 7,
}Expand description
Phidget server types
Variants§
None = 0
DeviceListener = 1
Device = 2
DeviceRemote = 3
WwwListener = 4
Www = 5
WwwRemote = 6
Sbc = 7
Trait Implementations§
source§impl Clone for ServerType
impl Clone for ServerType
source§fn clone(&self) -> ServerType
fn clone(&self) -> ServerType
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 Debug for ServerType
impl Debug for ServerType
source§impl Ord for ServerType
impl Ord for ServerType
source§fn cmp(&self, other: &ServerType) -> Ordering
fn cmp(&self, other: &ServerType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ServerType
impl PartialEq for ServerType
source§fn eq(&self, other: &ServerType) -> bool
fn eq(&self, other: &ServerType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ServerType
impl PartialOrd for ServerType
source§fn partial_cmp(&self, other: &ServerType) -> Option<Ordering>
fn partial_cmp(&self, other: &ServerType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl TryFrom<u32> for ServerType
impl TryFrom<u32> for ServerType
impl Copy for ServerType
impl Eq for ServerType
impl StructuralPartialEq for ServerType
Auto Trait Implementations§
impl RefUnwindSafe for ServerType
impl Send for ServerType
impl Sync for ServerType
impl Unpin for ServerType
impl UnwindSafe for ServerType
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