Expand description
Re-exports§
pub use self::api::ConnectionHandle;pub use self::api::Jason;pub use self::api::LocalMediaTrack;pub use self::api::MediaManagerHandle;pub use self::api::ReconnectHandle;pub use self::api::RemoteMediaTrack;pub use self::api::RoomCloseReason;pub use self::api::RoomHandle;pub use self::err::DartError as Error;pub use crate::media::MediaDirection;
Modules§
- api
- External
JasonAPI exposing functions that can be called via FFI and designed to be integrated into a Flutter plugin. - err
- Facilities for creating Dart exceptions from Rust.
Structs§
- Dart
Value Arg DartValuemarked by a Rust type.- Dart
Value Cast Error - Error of converting a
DartValueto the concrete type. - Unreachable
Async Runtime BaseAsyncRuntimethat panics on use.
Enums§
- Dart
Value - Type-erased value that can be transferred via FFI boundaries to/from Dart.
- Memory
Owner - Owner of some allocated memory.
Constants§
- DART_
HANDLER_ PORT - Used to create [
DartOpaque]s on the Rust side.
Traits§
- Primitive
Enum - Marker indicating a C-style enum which can be converted from number primitives.
Functions§
- box_
dart_ ⚠handle - Returns a pointer to a boxed
Dart_Handlecreated from the providedDart_Handle. - box_
foreign_ ⚠value - Returns a boxed pointer to the provided
DartValue. - free_
boxed_ ⚠dart_ handle - Frees the provided
ptr::NonNullpointer to aDart_Handle. - new_
frb_ handler - Creates a new
FrbHandler. - propagate_
panic - Wraps the provided function to catch all the Rust panics and propagate them to the Dart side.
- unbox_
dart_ ⚠handle - Returns a
Dart_Handledereferenced from the provided pointer.
Type Aliases§
- FrbHandler
SimpleHandlerthat usesNoOpErrorListener,UnreachableAsyncRuntimeand [SimpleThreadPool] with no threads.