pub enum AppEvent {
Show 13 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,
},
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
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