pub struct CLTypeMismatch {
pub expected: CLType,
pub found: CLType,
}Expand description
Error while converting a CLValue into a given type.
Fields§
§expected: CLTypeThe CLType into which the CLValue was being converted.
found: CLTypeThe actual underlying CLType of this CLValue, i.e. the type from which it was
constructed.
Trait Implementations§
Source§impl Clone for CLTypeMismatch
impl Clone for CLTypeMismatch
Source§fn clone(&self) -> CLTypeMismatch
fn clone(&self) -> CLTypeMismatch
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CLTypeMismatch
impl Debug for CLTypeMismatch
Source§impl<'de> Deserialize<'de> for CLTypeMismatch
impl<'de> Deserialize<'de> for CLTypeMismatch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CLTypeMismatch
impl Display for CLTypeMismatch
Source§impl PartialEq for CLTypeMismatch
impl PartialEq for CLTypeMismatch
Source§impl Serialize for CLTypeMismatch
impl Serialize for CLTypeMismatch
impl Eq for CLTypeMismatch
impl StructuralPartialEq for CLTypeMismatch
Auto Trait Implementations§
impl Freeze for CLTypeMismatch
impl RefUnwindSafe for CLTypeMismatch
impl Send for CLTypeMismatch
impl Sync for CLTypeMismatch
impl Unpin for CLTypeMismatch
impl UnwindSafe for CLTypeMismatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more