lightningdevkit
Version:
Lightning Development Kit
29 lines (28 loc) • 1.18 kB
text/typescript
import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs';
import { CommonBase } from './CommonBase.mjs';
export declare class Result_NoneRetryableSendFailureZ extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
/**
* Creates a new CResult_NoneRetryableSendFailureZ in the success state.
*/
static constructor_ok(): Result_NoneRetryableSendFailureZ;
/**
* Creates a new CResult_NoneRetryableSendFailureZ in the error state.
*/
static constructor_err(e: RetryableSendFailure): Result_NoneRetryableSendFailureZ;
/**
* Checks if the given object is currently in the success state
*/
is_ok(): boolean;
clone_ptr(): bigint;
/**
* Creates a new CResult_NoneRetryableSendFailureZ which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
clone(): Result_NoneRetryableSendFailureZ;
}
export declare class Result_NoneRetryableSendFailureZ_OK extends Result_NoneRetryableSendFailureZ {
}
export declare class Result_NoneRetryableSendFailureZ_Err extends Result_NoneRetryableSendFailureZ {
err: RetryableSendFailure;
}