Skip to main content

Module prelude

Module prelude 

Source
Expand description

Convenience re-exports for common types and traits.

use freeswitch_types::prelude::*;

This brings HeaderLookup into scope (required for typed accessors like unique_id(), channel_state(), hangup_cause(), etc.) along with the header and variable enums used with header() and variable().

Re-exports§

pub use crate::headers::EventHeader;
pub use crate::lookup::HeaderLookup;
pub use crate::variables::ChannelVariable;
pub use crate::variables::VariableName;

Enums§

SipHeader
Standard SIP header names with canonical wire casing.

Traits§

SipHeaderLookup
Trait for looking up standard SIP headers from any key-value store.