UNPKG

lightningdevkit

Version:
30 lines (29 loc) 1.78 kB
import { TwoTuple_DNSResolverMessageResponseInstructionZ } from '../structs/TwoTuple_DNSResolverMessageResponseInstructionZ.mjs'; import { CommonBase } from './CommonBase.mjs'; /** * An enum which can either contain a crate::c_types::derived::C2Tuple_DNSResolverMessageResponseInstructionZ or not */ export declare class Option_C2Tuple_DNSResolverMessageResponseInstructionZZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint); /** * Constructs a new COption_C2Tuple_DNSResolverMessageResponseInstructionZZ containing a crate::c_types::derived::C2Tuple_DNSResolverMessageResponseInstructionZ */ static constructor_some(o: TwoTuple_DNSResolverMessageResponseInstructionZ): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ; /** * Constructs a new COption_C2Tuple_DNSResolverMessageResponseInstructionZZ containing nothing */ static constructor_none(): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ; clone_ptr(): bigint; /** * Creates a new COption_C2Tuple_DNSResolverMessageResponseInstructionZZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ clone(): Option_C2Tuple_DNSResolverMessageResponseInstructionZZ; } /** A Option_C2Tuple_DNSResolverMessageResponseInstructionZZ of type Some */ export declare class Option_C2Tuple_DNSResolverMessageResponseInstructionZZ_Some extends Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { some: TwoTuple_DNSResolverMessageResponseInstructionZ; } /** A Option_C2Tuple_DNSResolverMessageResponseInstructionZZ of type None */ export declare class Option_C2Tuple_DNSResolverMessageResponseInstructionZZ_None extends Option_C2Tuple_DNSResolverMessageResponseInstructionZZ { }