Skip to main content

freeswitch_types/
prelude.rs

1//! Convenience re-exports for common types and traits.
2//!
3//! ```
4//! use freeswitch_types::prelude::*;
5//! ```
6//!
7//! This brings [`HeaderLookup`] into scope (required for typed accessors like
8//! `unique_id()`, `channel_state()`, `hangup_cause()`, etc.) along with the
9//! header and variable enums used with `header()` and `variable()`.
10
11pub use crate::headers::EventHeader;
12pub use crate::lookup::HeaderLookup;
13pub use crate::variables::{ChannelVariable, VariableName};
14pub use sip_header::{SipHeader, SipHeaderLookup};