#[non_exhaustive]pub enum Disposition {
Started,
Queued,
Accepted,
Dequeued,
Idle,
Stale,
Interrupting,
Answered,
Done,
Set,
Quitting,
Other(String),
}Expand description
A command’s outcome, from its response line.
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.
Started
started
Queued
queued
Accepted
accepted
Dequeued
dequeued
Idle
idle
Stale
stale
Interrupting
interrupting
Answered
answered
Done
done
Set
set
Quitting
quitting
Other(String)
A word this SDK does not know.
Implementations§
Trait Implementations§
Source§impl Clone for Disposition
impl Clone for Disposition
Source§impl Debug for Disposition
impl Debug for Disposition
Source§impl<'de> Deserialize<'de> for Disposition
impl<'de> Deserialize<'de> for Disposition
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Disposition
Source§impl PartialEq for Disposition
impl PartialEq for Disposition
impl StructuralPartialEq for Disposition
Auto Trait Implementations§
impl Freeze for Disposition
impl RefUnwindSafe for Disposition
impl Send for Disposition
impl Sync for Disposition
impl Unpin for Disposition
impl UnsafeUnpin for Disposition
impl UnwindSafe for Disposition
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