Crate rusmpp_core

Crate rusmpp_core 

Source
Expand description

§Features

  • alloc: Enables the alloc crate.
  • verbose: Enables verbose error reports. Enables the alloc feature.
  • arbitrary: Implements Arbitrary trait for all SMPP types.
  • serde: Implements Serialize trait for all SMPP types.
  • serde-deserialize-unchecked: Implements Deserialize trait for owned SMPP types, but does not check the validity of the data. Use with caution.
  • tokio-codec: Implements tokio-util Encoder and Decoder traits.
  • framez: Implements framez Encoder and Decoder traits.
  • tracing: Enables logging using tracing.
  • pretty-hex-fmt: Logs byte slices like [0x00, 0x00, 0x00, 0x6F] instead of [00, 00, 00, 6F], if tracing feature is enabled.
  • char-fmt: Logs byte slices as characters, if tracing feature is enabled.

Modules§

command
SMPP command.
decode
Traits for decoding SMPP values.
encode
Traits for encoding SMPP values.
fields
SMPP Fields.
framezframez
Framez Encoder and Decoder implementations.
pdus
SMPP PDUs.
session
Session state of the ESME <-> MC session.
tlvs
Tagged Length Value Field.
tokio_codectokio-codec
Tokio’s util Encoder and Decoder implementations for CommandCodec.
types
Core SMPP types.
udhs
User Data Headers (UDHs).
values
SMPP values.

Enums§

CommandId
Identifies the SMPP operation e.g. submit_sm, bind_transmitter etc.
CommandStatus
Represents the means by which an ESME or MC sends an error code to its peer.