pub enum CallAction {
Accept,
Reject,
Ignore,
}Expand description
Action to take for an incoming call
Determines how the client should respond to an incoming call invitation. This is returned by event handlers to control call behavior.
§Examples
use rvoip_client_core::events::CallAction;
let action = CallAction::Accept;
assert_eq!(action, CallAction::Accept);Variants§
Accept
Accept the incoming call and establish the connection
Reject
Reject the incoming call (sends busy or decline response)
Ignore
Ignore the incoming call (let it ring without responding)
Trait Implementations§
Source§impl Clone for CallAction
impl Clone for CallAction
Source§fn clone(&self) -> CallAction
fn clone(&self) -> CallAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CallAction
impl Debug for CallAction
Source§impl PartialEq for CallAction
impl PartialEq for CallAction
impl Eq for CallAction
impl StructuralPartialEq for CallAction
Auto Trait Implementations§
impl Freeze for CallAction
impl RefUnwindSafe for CallAction
impl Send for CallAction
impl Sync for CallAction
impl Unpin for CallAction
impl UnwindSafe for CallAction
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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