An Ok instance is the successful variant instance of the Result type, representing a successful outcome from an operation which may fail. For a full discussion, see the module docs.
Ok
Result
The type wrapped in this Ok variant of Result.
The type which would be wrapped in an Err variant of Result.
Err
Is the Result an Err?
Is the Result an Ok?
The wrapped value
Readonly
Ok is always Variant.Ok.
Variant.Ok
Method variant for and
and
Method variant for andThen
andThen
Method variant for ap
ap
Method variant for equals
equals
Method variant for map
map
Method variant for mapErr
mapErr
Method variant for mapOr
mapOr
Method variant for mapOrElse
mapOrElse
Method variant for match
match
Method variant for or
or
Method variant for orElse
orElse
Method variant for toJSON
toJSON
Method variant for toString
toString
Method variant for unwrapOr
unwrapOr
Method variant for unwrapOrElse
unwrapOrElse
An
Ok
instance is the successful variant instance of theResult
type, representing a successful outcome from an operation which may fail. For a full discussion, see the module docs.