Struct kdb::Any [−][src]
Any represents any KDB value regardless of type. Unlike atoms or lists you can't do anything with it, except for convert it into an atom or a list. It is ABI compatible with a K object, so it can be safely used as a parameter or return type for a function. See the chapter on embedded functions for more information.
Trait Implementations
impl<T: KValue> AsRef<Any> for Atom<T>
[src]
impl<T: KListable> AsRef<Any> for List<T>
[src]
impl AsRef<Any> for Dictionary
[src]
impl AsRef<Any> for Table
[src]
impl Debug for Any
[src]
impl PartialEq<Any> for Any
[src]
impl StructuralPartialEq for Any
[src]
impl<T> TryFrom<&'_ Any> for &Atom<T> where
T: KValue,
[src]
T: KValue,
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(any: &Any) -> Result<Self, Self::Error>
[src]
impl<T> TryFrom<&'_ Any> for &List<T> where
T: KListable,
[src]
T: KListable,
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(any: &Any) -> Result<Self, Self::Error>
[src]
impl TryFrom<&'_ Any> for &Dictionary
[src]
type Error = ConversionError
The type returned in the event of a conversion error.
fn try_from(any: &Any) -> Result<Self, Self::Error>
[src]
impl TryFrom<&'_ Any> for &Table
[src]
Auto Trait Implementations
impl RefUnwindSafe for Any
[src]
impl !Send for Any
[src]
impl !Sync for Any
[src]
impl Unpin for Any
[src]
impl UnwindSafe for Any
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,