Struct viz_core::types::StateError
source · pub struct StateError(pub &'static str);
Available on crate feature
state
only.Expand description
A State
error.
Tuple Fields§
§0: &'static str
Implementations§
source§impl StateError
impl StateError
Trait Implementations§
source§impl Debug for StateError
impl Debug for StateError
source§impl Display for StateError
impl Display for StateError
source§impl Error for StateError
impl Error for StateError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<StateError> for Error
impl From<StateError> for Error
source§fn from(e: StateError) -> Self
fn from(e: StateError) -> Self
Converts to this type from the input type.
source§impl IntoResponse for StateError
impl IntoResponse for StateError
source§fn into_response(self) -> Response
fn into_response(self) -> Response
Convert self to HTTP
Response
.source§fn into_error(self) -> Error
fn into_error(self) -> Error
Convert self to the
Error
.Auto Trait Implementations§
impl Freeze for StateError
impl RefUnwindSafe for StateError
impl Send for StateError
impl Sync for StateError
impl Unpin for StateError
impl UnwindSafe for StateError
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