Package 

Class ResultKt

  • All Implemented Interfaces:

    
    public final class ResultKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Result<Unit> toUnitResult(Result<?> $self) Returns a Result of Unit from any type of a Result.
      final static <T extends Any> Result<T> toResult(T $self) Returns a Result that contains an instance of T as a data payload.
      final static <T extends Any> Result<T> toResultError(ChatError $self) Returns a Result of type T that contains an they same error as payload.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait