pub struct BaresipBackend;Expand description
Backend that uses libbaresip directly via FFI (no process spawning, no ctrl_tcp wire protocol). libre and libbaresip are built from the vendored submodules and statically linked into the binary.
Trait Implementations§
Source§impl Backend for BaresipBackend
impl Backend for BaresipBackend
Source§fn spawn_session(
&self,
_rt: &Handle,
_name: &str,
account: &Account,
options: &BackendOptions,
) -> Result<Session>
fn spawn_session( &self, _rt: &Handle, _name: &str, account: &Account, options: &BackendOptions, ) -> Result<Session>
Spawn the backend (process or library), start I/O tasks on
rt, and
return a Session handle. The session owns the event stream, phone
command interface, and optional header-polling closure. Connect retry
happens internally; AppEvent::BackendConnectFailed lands in the event
stream on failure.Auto Trait Implementations§
impl Freeze for BaresipBackend
impl RefUnwindSafe for BaresipBackend
impl Send for BaresipBackend
impl Sync for BaresipBackend
impl Unpin for BaresipBackend
impl UnsafeUnpin for BaresipBackend
impl UnwindSafe for BaresipBackend
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