pub enum PlatformFamily {
Unix,
Windows,
}Expand description
The server runtime’s platform family; may differ from the client’s. Closed:
the protocol fixes the value set, so widening it is a deliberate,
gate-visible protocol change rather than a silent addition (a later
Closed→Open flip is itself additive).
Variants§
Trait Implementations§
Source§impl Clone for PlatformFamily
impl Clone for PlatformFamily
impl Copy for PlatformFamily
Source§impl Debug for PlatformFamily
impl Debug for PlatformFamily
Source§impl<'de> Deserialize<'de> for PlatformFamily
impl<'de> Deserialize<'de> for PlatformFamily
Source§fn 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
impl Eq for PlatformFamily
Source§impl PartialEq for PlatformFamily
impl PartialEq for PlatformFamily
Source§impl Serialize for PlatformFamily
impl Serialize for PlatformFamily
impl StructuralPartialEq for PlatformFamily
Auto Trait Implementations§
impl Forget for PlatformFamily
impl Freeze for PlatformFamily
impl Move for PlatformFamily
impl RefUnwindSafe for PlatformFamily
impl Send for PlatformFamily
impl Sync for PlatformFamily
impl Unpin for PlatformFamily
impl UnsafeUnpin for PlatformFamily
impl UnwindSafe for PlatformFamily
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