detect_platform

Function detect_platform 

Source
pub(crate) fn detect_platform() -> Result<Platform, DeviceError>
Expand description

Detects the platform type from the PLATFORM environment variable.