pub struct OpenRtcTauriState { /* private fields */ }Implementations§
Source§impl OpenRtcTauriState
impl OpenRtcTauriState
pub fn new(config: OpenRtcTauriConfig) -> Self
pub fn with_native_transport_installer( self, installer: Arc<dyn TransportInstaller>, ) -> Self
pub fn with_native_device_key_signer( self, signer: Arc<dyn DeviceKeySigner>, ) -> Self
Sourcepub fn with_testing_endpoints(
self,
control_plane: impl Into<String>,
gateway: impl Into<String>,
) -> Self
pub fn with_testing_endpoints( self, control_plane: impl Into<String>, gateway: impl Into<String>, ) -> Self
Select one explicit control-plane/gateway pair for a native test artifact. Rust remains the sole owner of enrollment, presence, and connection lifecycle after this host-composition step.
Sourcepub fn native_control_plane(
&self,
assertions: Arc<dyn AssertionProvider>,
) -> Result<ControlPlane, String>
pub fn native_control_plane( &self, assertions: Arc<dyn AssertionProvider>, ) -> Result<ControlPlane, String>
Compose the Rust control plane with the same non-exportable install key and protected certificate records used by this native host. The app supplies identity assertions only; OpenRTC owns enrollment and grants.
pub fn with_native_broadcast_adapter( self, adapter: Arc<dyn NativeBroadcastAdapter>, ) -> Self
pub fn client(&self) -> Arc<Client> ⓘ
pub fn set_identity_credential(&self, identity_credential: Option<String>)
Auto Trait Implementations§
impl !Freeze for OpenRtcTauriState
impl !RefUnwindSafe for OpenRtcTauriState
impl !UnwindSafe for OpenRtcTauriState
impl Send for OpenRtcTauriState
impl Sync for OpenRtcTauriState
impl Unpin for OpenRtcTauriState
impl UnsafeUnpin for OpenRtcTauriState
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