pub struct DialogLayerInner { /* private fields */ }Expand description
Internal Dialog Layer State
DialogLayerInner contains the core state for managing multiple SIP dialogs.
It maintains a registry of active dialogs and tracks sequence numbers for
dialog creation.
§Fields
last_seq- Atomic counter for generating unique sequence numbersdialogs- Thread-safe map of active dialogs indexed by DialogId
§Thread Safety
This structure is designed to be shared across multiple threads safely:
last_sequses atomic operations for lock-free incrementsdialogsuses RwLock for concurrent read access with exclusive writes
Auto Trait Implementations§
impl !Freeze for DialogLayerInner
impl RefUnwindSafe for DialogLayerInner
impl Send for DialogLayerInner
impl Sync for DialogLayerInner
impl Unpin for DialogLayerInner
impl UnwindSafe for DialogLayerInner
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more