menu
TryInto
import { TryInto } from "destack:convert";
Fallible conversion into T.
1export newtype interface TryInto<T, E = Error> {2 tryInto(): Result<T, E>;3}Members
tryInto(): Result<T, E>Convert this value, or return an error.
import { TryInto } from "destack:convert";
Fallible conversion into T.
1export newtype interface TryInto<T, E = Error> {2 tryInto(): Result<T, E>;3}tryInto(): Result<T, E>Convert this value, or return an error.