#[non_exhaustive]pub enum AdapterEvent {
Show 14 variants
InboundConnection {
connection: Connection,
},
Connected {
connection_id: ConnectionId,
},
Progress {
connection_id: ConnectionId,
status_code: u16,
reason: String,
early_media: bool,
},
Authenticated {
connection_id: ConnectionId,
identity_id: String,
participant_id: String,
assurance: IdentityAssurance,
},
PrincipalAuthenticated {
connection_id: ConnectionId,
participant_id: String,
principal: AuthenticatedPrincipal,
},
Ended {
connection_id: ConnectionId,
reason: EndReason,
},
Failed {
connection_id: ConnectionId,
detail: String,
},
Dtmf {
connection_id: ConnectionId,
digits: String,
duration_ms: u32,
},
Quality {
connection_id: ConnectionId,
snapshot: QualitySnapshot,
},
Message {
connection_id: ConnectionId,
text: String,
},
DataMessage {
connection_id: ConnectionId,
message: DataMessage,
},
TransferStatus {
connection_id: ConnectionId,
attempt_id: Option<TransferAttemptId>,
status: TransferStatus,
},
StepUpResponse {
connection_id: ConnectionId,
method: String,
credential: String,
},
Native {
kind: &'static str,
detail: String,
},
}Expand description
Adapter-native event surface. rvoip-core normalizes these into the
orchestration event vocabulary; consumers wanting protocol-native
access can subscribe directly to the adapter.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InboundConnection
Fields
connection: ConnectionConnected
Fields
connection_id: ConnectionIdProgress
Connection-scoped provisional signaling reported by an adapter.
early_media is true only when the provisional response established
a usable media description (for SIP, a 183 response carrying SDP).
The raw transport description is intentionally not exposed through
this transport-neutral event.
Authenticated
PrincipalAuthenticated
Additive full-principal authentication event. The legacy
Authenticated variant remains unchanged for source compatibility.
Ended
Failed
Dtmf
Quality
Message
DataMessage
TransferStatus
An asynchronous, protocol-authoritative transfer update.
Fields
connection_id: ConnectionIdattempt_id: Option<TransferAttemptId>Correlates this update with the exact submitted transfer when the
adapter can provide transaction-safe correlation. Legacy adapters
report None.
status: TransferStatusStepUpResponse
Native
Trait Implementations§
Source§impl Clone for AdapterEvent
impl Clone for AdapterEvent
Source§fn clone(&self) -> AdapterEvent
fn clone(&self) -> AdapterEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more