Package org.ldk.enums
Enum IOError
- java.lang.Object
-
- java.lang.Enum<IOError>
-
- org.ldk.enums.IOError
-
- All Implemented Interfaces:
Serializable
,Comparable<IOError>
public enum IOError extends Enum<IOError>
Represents an IO Error. Note that some information is lost in the conversion from Rust.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IOError
valueOf(String name)
Returns the enum constant of this type with the specified name.static IOError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LDKIOError_NotFound
public static final IOError LDKIOError_NotFound
-
LDKIOError_PermissionDenied
public static final IOError LDKIOError_PermissionDenied
-
LDKIOError_ConnectionRefused
public static final IOError LDKIOError_ConnectionRefused
-
LDKIOError_ConnectionReset
public static final IOError LDKIOError_ConnectionReset
-
LDKIOError_ConnectionAborted
public static final IOError LDKIOError_ConnectionAborted
-
LDKIOError_NotConnected
public static final IOError LDKIOError_NotConnected
-
LDKIOError_AddrInUse
public static final IOError LDKIOError_AddrInUse
-
LDKIOError_AddrNotAvailable
public static final IOError LDKIOError_AddrNotAvailable
-
LDKIOError_BrokenPipe
public static final IOError LDKIOError_BrokenPipe
-
LDKIOError_AlreadyExists
public static final IOError LDKIOError_AlreadyExists
-
LDKIOError_WouldBlock
public static final IOError LDKIOError_WouldBlock
-
LDKIOError_InvalidInput
public static final IOError LDKIOError_InvalidInput
-
LDKIOError_InvalidData
public static final IOError LDKIOError_InvalidData
-
LDKIOError_TimedOut
public static final IOError LDKIOError_TimedOut
-
LDKIOError_WriteZero
public static final IOError LDKIOError_WriteZero
-
LDKIOError_Interrupted
public static final IOError LDKIOError_Interrupted
-
LDKIOError_Other
public static final IOError LDKIOError_Other
-
LDKIOError_UnexpectedEof
public static final IOError LDKIOError_UnexpectedEof
-
-
Method Detail
-
values
public static IOError[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IOError c : IOError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IOError valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-