Enum ocl::enums::EventInfoResult
[−]
[src]
pub enum EventInfoResult { CommandQueue(CommandQueue), CommandType(CommandType), ReferenceCount(u32), CommandExecutionStatus(CommandExecutionStatus), Context(Context), Error(Box<Error>), }
An event info result.
Variants
CommandQueue(CommandQueue)
CommandType(CommandType)
ReferenceCount(u32)
CommandExecutionStatus(CommandExecutionStatus)
Context(Context)
Error(Box<Error>)
Methods
impl EventInfoResult
[src]
fn from_bytes(
request: EventInfo,
result: Result<Vec<u8>, Error>
) -> EventInfoResult
request: EventInfo,
result: Result<Vec<u8>, Error>
) -> EventInfoResult
Trait Implementations
impl Display for EventInfoResult
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Error for EventInfoResult
[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 EventInfoResult
[src]
impl From<Error> for EventInfoResult
[src]
fn from(err: Error) -> EventInfoResult
Performs the conversion.