pub enum AppEvent {
Registering {
account: String,
},
RegisterOk {
account: String,
},
RegisterFailed {
reason: 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,
},
BaresipConnectFailed {
reason: String,
},
}Variants§
Registering
RegisterOk
RegisterFailed
CallIncoming
CallOutgoing
CallRinging
CallEstablished
CallClosed
VoicemailStatus
Response
Unknown
BaresipConnectFailed
Trait Implementations§
Source§impl From<BaresipMessage> for AppEvent
impl From<BaresipMessage> for AppEvent
Source§fn from(msg: BaresipMessage) -> Self
fn from(msg: BaresipMessage) -> Self
Converts to this type from the input type.
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