Enum ocl_core::types::enums::ContextInfoResult
[−]
[src]
pub enum ContextInfoResult { ReferenceCount(u32), Devices(Vec<DeviceId>), Properties(Vec<u8>), NumDevices(u32), Error(Box<OclError>), }
[UNSTABLE][INCOMPLETE] A context info result.
[FIXME]: Figure out what to do with the properties variant.
Variants
ReferenceCount(u32)
Devices(Vec<DeviceId>)
Properties(Vec<u8>)
NumDevices(u32)
Error(Box<OclError>)
Methods
impl ContextInfoResult
[src]
fn from_bytes(request: ContextInfo, result: OclResult<Vec<u8>>) -> ContextInfoResult
Trait Implementations
impl Debug for ContextInfoResult
[src]
impl Display for ContextInfoResult
[src]
impl Into<String> for ContextInfoResult
[src]
impl From<OclError> for ContextInfoResult
[src]
fn from(err: OclError) -> ContextInfoResult
Performs the conversion.