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

Type Alias TryLockResult

pub type TryLockResult<T> = Result<T, TryLockError>;
Expand description

A type alias for the result of a nonblocking locking method.

Aliased Type§

enum TryLockResult<T> {
    Ok(T),
    Err(TryLockError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(TryLockError)

Contains the error value