This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.

Type Alias NavigationError

Source
pub type NavigationError = HistoryError;

Aliased Type§

pub enum NavigationError {
    QuerySer(Error),
    QueryDe(Error),
}

Variants§

§

QuerySer(Error)

Failed to serialize query.

§

QueryDe(Error)

Failed to deserialize query.

Trait Implementations

§

impl Debug for HistoryError

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Display for HistoryError

§

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Error for HistoryError

§

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

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
§

impl From<Error> for HistoryError

§

fn from(source: Error) -> HistoryError

Converts to this type from the input type.
§

impl From<Error> for HistoryError

§

fn from(source: Error) -> HistoryError

Converts to this type from the input type.