pub enum AppEvent {
Show 17 variants
Registering {
account: String,
},
RegisterOk {
account: String,
},
RegisterFailed {
reason: String,
},
Unregistered {
account: String,
},
CallIncoming {
call_id: String,
number: String,
display_name: Option<String>,
},
CallOutgoing {
call_id: String,
number: String,
},
CallRinging {
call_id: String,
},
CallEstablished {
call_id: String,
},
CallClosed {
call_id: String,
reason: String,
error: bool,
},
CallDeflected {
from: String,
display_name: Option<String>,
target: String,
},
CallHold {
call_id: String,
},
CallResume {
call_id: String,
},
CallTransferFailed {
call_id: String,
},
VoicemailStatus {
waiting: bool,
new_count: u32,
},
Response {
ok: bool,
data: String,
},
Unknown {
class: String,
type_: String,
},
BackendConnectFailed {
reason: String,
},
}Variants§
Registering
RegisterOk
RegisterFailed
Unregistered
CallIncoming
CallOutgoing
CallRinging
CallEstablished
CallClosed
CallDeflected
CallHold
The remote party put this call on hold (the call stays up, media pauses). Distinct from a local hold: the peer initiated it.
CallResume
The remote party resumed a call it had put on hold.
CallTransferFailed
A transfer this side initiated failed (the original call, if still up, is unaffected).
VoicemailStatus
Response
Unknown
BackendConnectFailed
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppEvent
impl RefUnwindSafe for AppEvent
impl Send for AppEvent
impl Sync for AppEvent
impl Unpin for AppEvent
impl UnsafeUnpin for AppEvent
impl UnwindSafe for AppEvent
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