class Llama::AdapterLora::AttachmentLease

Overview

Single-use reservation that prevents close during native attachment. :nodoc:

Defined in:

llama/adapter_lora.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(adapter : AdapterLora, handle : Pointer(LibLlama::LlamaAdapterLora)) #

[View source]

Instance Method Detail

def active? : Bool #

[View source]
def adapter : AdapterLora #

[View source]
def consume! : Nil #

[View source]
def handle : Pointer(LibLlama::LlamaAdapterLora) #

[View source]