Struct kdb::Any[][src]

#[repr(transparent)]pub struct Any { /* fields omitted */ }

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]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<T> TryFrom<&'_ Any> for &List<T> where
    T: KListable, 
[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<&'_ Any> for &Dictionary[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<&'_ Any> for &Table[src]

type Error = ConversionError

The type returned in the event of a conversion error.

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.