pub struct CancellationDetails {
pub reason: CancellationReason,
pub error_code: CancellationErrorCode,
pub error_details: String,
}
Expand description
CancellationDetails contains detailed information about why a result was canceled. Added in version 1.17.0
Fields
reason: CancellationReason
error_code: CancellationErrorCode
error_details: String
Implementations
sourceimpl CancellationDetails
impl CancellationDetails
pub fn from_speech_synthesis_result(
speech_synthesis_result: SpeechSynthesisResult
) -> Result<Self>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CancellationDetails
impl Send for CancellationDetails
impl Sync for CancellationDetails
impl Unpin for CancellationDetails
impl UnwindSafe for CancellationDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more