Enum ocl::enums::KernelArgInfoResult [−][src]
pub enum KernelArgInfoResult { AddressQualifier(KernelArgAddressQualifier), AccessQualifier(KernelArgAccessQualifier), TypeName(String), TypeQualifier(KernelArgTypeQualifier), Name(String), }
A kernel arg info result.
Variants
AddressQualifier(KernelArgAddressQualifier)
AccessQualifier(KernelArgAccessQualifier)
TypeName(String)
TypeQualifier(KernelArgTypeQualifier)
Name(String)
Methods
impl KernelArgInfoResult
[src]
impl KernelArgInfoResult
pub fn from_bytes(
request: KernelArgInfo,
result: Vec<u8>
) -> Result<KernelArgInfoResult, Error>
[src]
pub fn from_bytes(
request: KernelArgInfo,
result: Vec<u8>
) -> Result<KernelArgInfoResult, Error>
Trait Implementations
impl From<KernelArgInfoResult> for String
[src]
impl From<KernelArgInfoResult> for String
fn from(ir: KernelArgInfoResult) -> String
[src]
fn from(ir: KernelArgInfoResult) -> String
Performs the conversion.
impl Display for KernelArgInfoResult
[src]
impl Display for KernelArgInfoResult
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Fail for KernelArgInfoResult
[src]
impl Fail for KernelArgInfoResult
fn cause(&self) -> Option<&(Fail + 'static)>
[src]
fn cause(&self) -> Option<&(Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
[src]
fn context<D>(self, context: D) -> Context<D> where
D: Display + Send + Sync + 'static,
Provides context for this failure. Read more
fn compat(self) -> Compat<Self>
[src]
fn compat(self) -> Compat<Self>
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
impl Debug for KernelArgInfoResult
[src]
impl Debug for KernelArgInfoResult
Auto Trait Implementations
impl Send for KernelArgInfoResult
impl Send for KernelArgInfoResult
impl Sync for KernelArgInfoResult
impl Sync for KernelArgInfoResult