Enum qpid_proton_sys::pn_type_t[][src]

#[repr(C)]
pub enum pn_type_t {
Show variants PN_NULL, PN_BOOL, PN_UBYTE, PN_BYTE, PN_USHORT, PN_SHORT, PN_UINT, PN_INT, PN_CHAR, PN_ULONG, PN_LONG, PN_TIMESTAMP, PN_FLOAT, PN_DOUBLE, PN_DECIMAL32, PN_DECIMAL64, PN_DECIMAL128, PN_UUID, PN_BINARY, PN_STRING, PN_SYMBOL, PN_DESCRIBED, PN_ARRAY, PN_LIST, PN_MAP, PN_INVALID,
}
Expand description

Identifies an AMQP type.

Variants

PN_NULL
Expand description

The NULL AMQP type.

PN_BOOL
Expand description

The boolean AMQP type.

PN_UBYTE
Expand description

The unsigned byte AMQP type. An 8 bit unsigned integer.

PN_BYTE
Expand description

The byte AMQP type. An 8 bit signed integer.

PN_USHORT
Expand description

The unsigned short AMQP type. A 16 bit unsigned integer.

PN_SHORT
Expand description

The short AMQP type. A 16 bit signed integer.

PN_UINT
Expand description

The unsigned int AMQP type. A 32 bit unsigned integer.

PN_INT
Expand description

The signed int AMQP type. A 32 bit signed integer.

PN_CHAR
Expand description

The char AMQP type. A 32 bit unicode character.

PN_ULONG
Expand description

The ulong AMQP type. An unsigned 64 bit integer.

PN_LONG
Expand description

The long AMQP type. A signed 64 bit integer.

PN_TIMESTAMP
Expand description

The timestamp AMQP type. A signed 64 bit value measuring milliseconds since the epoch.

PN_FLOAT
Expand description

The float AMQP type. A 32 bit floating point value.

PN_DOUBLE
Expand description

The double AMQP type. A 64 bit floating point value.

PN_DECIMAL32
Expand description

The decimal32 AMQP type. A 32 bit decimal floating point value.

PN_DECIMAL64
Expand description

The decimal64 AMQP type. A 64 bit decimal floating point value.

PN_DECIMAL128
Expand description

The decimal128 AMQP type. A 128 bit decimal floating point value.

PN_UUID
Expand description

The UUID AMQP type. A 16 byte UUID.

PN_BINARY
Expand description

The binary AMQP type. A variable length sequence of bytes.

PN_STRING
Expand description

The string AMQP type. A variable length sequence of unicode characters.

PN_SYMBOL
Expand description

The symbol AMQP type. A variable length sequence of unicode characters.

PN_DESCRIBED
Expand description

A described AMQP type.

PN_ARRAY
Expand description

An AMQP array. A monomorphic sequence of other AMQP values.

PN_LIST
Expand description

An AMQP list. A polymorphic sequence of other AMQP values.

PN_MAP
Expand description

An AMQP map. A polymorphic container of other AMQP values formed into key/value pairs.

PN_INVALID
Expand description

A special invalid type value that is returned when no valid types available.

Trait Implementations

impl Debug for pn_type_t[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.