pub(crate) fn detect_platform() -> Result<Platform, DeviceError>Expand description
Detects the platform type from the PLATFORM environment variable.
pub(crate) fn detect_platform() -> Result<Platform, DeviceError>Detects the platform type from the PLATFORM environment variable.