Enum ocl::enums::KernelInfoResult
[−]
[src]
pub enum KernelInfoResult { FunctionName(String), NumArgs(u32), ReferenceCount(u32), Context(Context), Program(Program), Attributes(String), Error(Box<Error>), }
A kernel info result.
Variants
FunctionName(String)
NumArgs(u32)
ReferenceCount(u32)
Context(Context)
Program(Program)
Attributes(String)
Error(Box<Error>)
Methods
impl KernelInfoResult
[src]
fn from_bytes(
request: KernelInfo,
result: Result<Vec<u8>, Error>
) -> KernelInfoResult
request: KernelInfo,
result: Result<Vec<u8>, Error>
) -> KernelInfoResult
Trait Implementations
impl Display for KernelInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for KernelInfoResult
[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
impl Debug for KernelInfoResult
[src]
impl From<Error> for KernelInfoResult
[src]
fn from(err: Error) -> KernelInfoResult
Performs the conversion.