pub trait WebRTCICEExtManual: IsA<WebRTCICE> + 'static {
// Provided methods
fn add_candidate(&self, stream: &impl IsA<WebRTCICEStream>, candidate: &str) { ... }
fn add_candidate_full(
&self,
stream: &impl IsA<WebRTCICEStream>,
candidate: &str,
promise: Option<&Promise>,
) { ... }
}
Provided Methods§
Sourcefn add_candidate(&self, stream: &impl IsA<WebRTCICEStream>, candidate: &str)
fn add_candidate(&self, stream: &impl IsA<WebRTCICEStream>, candidate: &str)
§stream
The WebRTCICEStream
§candidate
The ICE candidate
§promise
A GstPromise
for task notifications (Since: 1.24)
fn add_candidate_full( &self, stream: &impl IsA<WebRTCICEStream>, candidate: &str, promise: Option<&Promise>, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.