Enum ocl::enums::CommandQueueInfoResult
[−]
[src]
pub enum CommandQueueInfoResult { Context(Context), Device(DeviceId), ReferenceCount(u32), Properties(CommandQueueProperties), Error(Box<Error>), }
A command queue info result.
Variants
Context(Context)
Device(DeviceId)
ReferenceCount(u32)
Properties(CommandQueueProperties)
Error(Box<Error>)
Methods
impl CommandQueueInfoResult
[src]
fn from_bytes(
request: CommandQueueInfo,
result: Result<Vec<u8>, Error>
) -> CommandQueueInfoResult
request: CommandQueueInfo,
result: Result<Vec<u8>, Error>
) -> CommandQueueInfoResult
Trait Implementations
impl Display for CommandQueueInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for CommandQueueInfoResult
[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 CommandQueueInfoResult
[src]
impl From<Error> for CommandQueueInfoResult
[src]
fn from(err: Error) -> CommandQueueInfoResult
Performs the conversion.