[][src]Enum uclicious_libucl_sys::ucl_emitter

#[repr(u32)]pub enum ucl_emitter {
    UCL_EMIT_JSON,
    UCL_EMIT_JSON_COMPACT,
    UCL_EMIT_CONFIG,
    UCL_EMIT_YAML,
    UCL_EMIT_MSGPACK,
    UCL_EMIT_MAX,
}

You can use one of these types to serialise #ucl_object_t by using ucl_object_emit().

Variants

UCL_EMIT_JSON

< Emit fine formatted JSON

UCL_EMIT_JSON_COMPACT

< Emit compacted JSON

UCL_EMIT_CONFIG

< Emit human readable config format

UCL_EMIT_YAML

< Emit embedded YAML format

UCL_EMIT_MSGPACK

< Emit msgpack output

UCL_EMIT_MAX

< Unsupported emitter type

Trait Implementations

impl Clone for ucl_emitter[src]

impl Copy for ucl_emitter[src]

impl Debug for ucl_emitter[src]

impl Eq for ucl_emitter[src]

impl Hash for ucl_emitter[src]

impl PartialEq<ucl_emitter> for ucl_emitter[src]

impl StructuralEq for ucl_emitter[src]

impl StructuralPartialEq for ucl_emitter[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.