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

pub enum ProgramInfoResult {
    ReferenceCount(u32),
    Context(Context),
    NumDevices(u32),
    Devices(Vec<DeviceId>),
    Source(String),
    BinarySizes(Vec<usize>),
    Binaries(Vec<Vec<u8>>),
    NumKernels(usize),
    KernelNames(String),
    Error(Box<OclError>),
}

A program info result.

Variants

ReferenceCount(u32)Context(Context)NumDevices(u32)Devices(Vec<DeviceId>)Source(String)BinarySizes(Vec<usize>)Binaries(Vec<Vec<u8>>)NumKernels(usize)KernelNames(String)Error(Box<OclError>)

Methods

impl ProgramInfoResult
[src]

Trait Implementations

impl Debug for ProgramInfoResult
[src]

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

Formats the value using the given formatter.

impl Display for ProgramInfoResult
[src]

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

Formats the value using the given formatter.

impl Into<String> for ProgramInfoResult
[src]

fn into(self) -> String

Performs the conversion.

impl From<OclError> for ProgramInfoResult
[src]

fn from(err: OclError) -> ProgramInfoResult

Performs the conversion.

impl Error for ProgramInfoResult
[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