Struct Subspace :: sus :: ops :: TryImpl

struct TryImpl
{ ... };

Static Methods

static auto from_default() -> Option<T>
requires
sus::construct::Default<T>
static auto from_default() -> Result<void, E>
static auto from_output(sus::ops::TryImpl::Output t) -> Option<T>
static auto into_output(Option<T> t) -> sus::ops::TryImpl::Output
static auto into_output(Result<T, E> t) -> sus::ops::TryImpl::Output
static auto into_output(Result<void, E> t) -> void
static auto into_output(std::optional<T> t) -> sus::ops::TryImpl::Output
static auto is_success(const Option<T>& t) -> bool
static auto is_success(const Result<T, E>& t) -> bool
static auto is_success(const Result<void, E>& t) -> bool
static auto is_success(const std::optional<T>& t) -> bool
template <class U>
static auto preserve_error(Option<U>) -> Option<T>
template <class U>
static auto preserve_error(Result<U, E> t) -> Result<T, E>
static auto preserve_error(Result<void, E> t) -> Result<void, E>
template <class U>
static auto preserve_error(std::optional<U>) -> std::optional<T>