Enum ocl_core::types::enums::ContextInfoResult [] [src]

pub enum ContextInfoResult {
    ReferenceCount(u32),
    Devices(Vec<DeviceId>),
    Properties(Vec<u8>),
    NumDevices(u32),
    Error(Box<OclError>),
}

[UNSTABLE][INCOMPLETE] A context info result.

[FIXME]: Figure out what to do with the properties variant.

Variants

ReferenceCount(u32)Devices(Vec<DeviceId>)Properties(Vec<u8>)NumDevices(u32)Error(Box<OclError>)

Methods

impl ContextInfoResult
[src]

Trait Implementations

impl Debug for ContextInfoResult
[src]

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

Formats the value using the given formatter.

impl Display for ContextInfoResult
[src]

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

Formats the value using the given formatter.

impl Into<String> for ContextInfoResult
[src]

fn into(self) -> String

Performs the conversion.

impl From<OclError> for ContextInfoResult
[src]

fn from(err: OclError) -> ContextInfoResult

Performs the conversion.

impl Error for ContextInfoResult
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>
1.0.0

The lower-level cause of this error, if any. Read more