pub struct StopReasonError {
pub raw: String,
}Expand description
Text that matches no StopReason.
Fields§
§raw: StringText as given.
Trait Implementations§
Source§impl Clone for StopReasonError
impl Clone for StopReasonError
Source§impl Debug for StopReasonError
impl Debug for StopReasonError
Source§impl Display for StopReasonError
impl Display for StopReasonError
impl Eq for StopReasonError
Source§impl Error for StopReasonError
impl Error for StopReasonError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for StopReasonError
impl PartialEq for StopReasonError
impl StructuralPartialEq for StopReasonError
Auto Trait Implementations§
impl Freeze for StopReasonError
impl RefUnwindSafe for StopReasonError
impl Send for StopReasonError
impl Sync for StopReasonError
impl Unpin for StopReasonError
impl UnsafeUnpin for StopReasonError
impl UnwindSafe for StopReasonError
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