pub enum CallSetup {
None = 0,
Incoming = 1,
OutgoingDialing = 2,
OutgoingAlerting = 3,
}
Expand description
The Callsetup Indicator as specified in HFP v1.8, Section 4.10.2
Variants§
None = 0
No call setup in progress.
Incoming = 1
Incoming call setup in progress.
OutgoingDialing = 2
Outgoing call setup in dialing state.
OutgoingAlerting = 3
Outgoing call setup in alerting state.
Implementations§
Trait Implementations§
Source§impl TryFrom<i64> for CallSetup
impl TryFrom<i64> for CallSetup
Source§type Error = CallSetupIndicatorError
type Error = CallSetupIndicatorError
The type returned in the event of a conversion error.
impl Copy for CallSetup
impl Eq for CallSetup
impl StructuralPartialEq for CallSetup
Auto Trait Implementations§
impl Freeze for CallSetup
impl RefUnwindSafe for CallSetup
impl Send for CallSetup
impl Sync for CallSetup
impl Unpin for CallSetup
impl UnwindSafe for CallSetup
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> IntoAny for T
impl<T> IntoAny for T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more