#[non_exhaustive]pub enum SessionReading {
ChannelState,
CallState,
CallDirection,
HangupCause,
}Expand description
A per-session reading whose value its vocabulary did not know.
Named rather than free-form so a consumer can tell which reading lapsed without matching on the value it choked on.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SessionReading
impl Clone for SessionReading
Source§fn clone(&self) -> SessionReading
fn clone(&self) -> SessionReading
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SessionReading
Source§impl Debug for SessionReading
impl Debug for SessionReading
Source§impl Display for SessionReading
impl Display for SessionReading
impl Eq for SessionReading
Source§impl PartialEq for SessionReading
impl PartialEq for SessionReading
impl StructuralPartialEq for SessionReading
Auto Trait Implementations§
impl Freeze for SessionReading
impl RefUnwindSafe for SessionReading
impl Send for SessionReading
impl Sync for SessionReading
impl Unpin for SessionReading
impl UnsafeUnpin for SessionReading
impl UnwindSafe for SessionReading
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.