crab library
Classes
-
Err<T, E>
-
Err
is a type that represents failure and contains a E
type error value.
-
None<T>
-
None
is a type that represents not having a value.
-
Ok<T, E>
-
Ok
is a type that represents success and contains a T
type success
value.
-
Option<T>
-
Option
is a type that represents either having a value (Some) or not
having a value (None).
-
Result<T, E>
-
Result
is a type that represents either success (Ok) or failure
(Err).
-
Some<T>
-
Some
is a type that represents having a value and contains a T
type
value.
Exceptions / Errors
-
UnwrapError
-
Error thrown by the runtime system when
unwrap
fails.