Enum ocl::core::PlatformInfoResult [] [src]

pub enum PlatformInfoResult {
    Profile(String),
    Version(String),
    Name(String),
    Vendor(String),
    Extensions(String),
    Error(Box<OclError>),
}

Platform info result. TODO: ADD ERROR VARIANT.

Variants

Profile(String)Version(String)Name(String)Vendor(String)Extensions(String)Error(Box<OclError>)

Methods

impl PlatformInfoResult
[src]

fn from_bytes(request_param: PlatformInfo, result_string: Vec<u8>) -> OclResult<PlatformInfoResult>

fn to_string(&self) -> String

fn as_str(&self) -> &str

Trait Implementations

impl Into<String> for PlatformInfoResult
[src]

fn into(self) -> String

Performs the conversion.

impl Debug for PlatformInfoResult
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for PlatformInfoResult
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.