Struct webrtc::api::APIBuilder
source · pub struct APIBuilder { /* private fields */ }
Implementations
sourceimpl APIBuilder
impl APIBuilder
pub fn new() -> Self
pub fn build(self) -> API
sourcepub fn with_setting_engine(self, setting_engine: SettingEngine) -> Self
pub fn with_setting_engine(self, setting_engine: SettingEngine) -> Self
WithSettingEngine allows providing a SettingEngine to the API. Settings should not be changed after passing the engine to an API.
sourcepub fn with_media_engine(self, media_engine: MediaEngine) -> Self
pub fn with_media_engine(self, media_engine: MediaEngine) -> Self
WithMediaEngine allows providing a MediaEngine to the API. Settings can be changed after passing the engine to an API.
sourcepub fn with_interceptor_registry(self, interceptor_registry: Registry) -> Self
pub fn with_interceptor_registry(self, interceptor_registry: Registry) -> Self
with_interceptor_registry allows providing Interceptors to the API. Settings should not be changed after passing the registry to an API.
Trait Implementations
sourceimpl Default for APIBuilder
impl Default for APIBuilder
sourcefn default() -> APIBuilder
fn default() -> APIBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for APIBuilder
impl Send for APIBuilder
impl Sync for APIBuilder
impl Unpin for APIBuilder
impl !UnwindSafe for APIBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more