pub struct SipFlowConfig {
pub enabled: Option<bool>,
pub max_calls: Option<usize>,
pub max_items_per_call: Option<usize>,
pub upload: Option<SipFlowUploadConfig>,
}Expand description
[sipflow] — in-process SIP signaling capture.
Fields§
§enabled: Option<bool>Set to false to disable capture even though the section exists.
max_calls: Option<usize>LRU bound on tracked Call-IDs (default 4096).
max_items_per_call: Option<usize>Per-Call-ID message cap; further messages are dropped and counted (default 8192).
upload: Option<SipFlowUploadConfig>Post-call JSONL upload. Without it the flows are captured and discarded at hangup.
Implementations§
Trait Implementations§
Source§impl Clone for SipFlowConfig
impl Clone for SipFlowConfig
Source§impl Debug for SipFlowConfig
impl Debug for SipFlowConfig
Source§impl Default for SipFlowConfig
impl Default for SipFlowConfig
Source§impl<'de> Deserialize<'de> for SipFlowConfig
impl<'de> Deserialize<'de> for SipFlowConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for SipFlowConfig
impl Freeze for SipFlowConfig
impl Move for SipFlowConfig
impl RefUnwindSafe for SipFlowConfig
impl Send for SipFlowConfig
impl Sync for SipFlowConfig
impl Unpin for SipFlowConfig
impl UnsafeUnpin for SipFlowConfig
impl UnwindSafe for SipFlowConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more