asSuccess

fun <T> T.asSuccess(): Result<T>