Enum ocl::enums::KernelArgInfoResult
[−]
[src]
pub enum KernelArgInfoResult { AddressQualifier(KernelArgAddressQualifier), AccessQualifier(KernelArgAccessQualifier), TypeName(String), TypeQualifier(KernelArgTypeQualifier), Name(String), Error(Box<Error>), }
A kernel arg info result.
Variants
AddressQualifier(KernelArgAddressQualifier)
AccessQualifier(KernelArgAccessQualifier)
TypeName(String)
TypeQualifier(KernelArgTypeQualifier)
Name(String)
Error(Box<Error>)
Methods
impl KernelArgInfoResult
[src]
fn from_bytes(
request: KernelArgInfo,
result: Result<Vec<u8>, Error>
) -> KernelArgInfoResult
request: KernelArgInfo,
result: Result<Vec<u8>, Error>
) -> KernelArgInfoResult
Trait Implementations
impl Display for KernelArgInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for KernelArgInfoResult
[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 KernelArgInfoResult
[src]
impl From<Error> for KernelArgInfoResult
[src]
fn from(err: Error) -> KernelArgInfoResult
Performs the conversion.