SwiftstructCryptexKit
struct CryptexKit.TempFd
Members 11
- func
static create(at: System.FileDescriptor, prefix: String, suffixlen: Int) throws -> CryptexKit.TempFd - func
static create(prefix: String) throws -> CryptexKit.TempFd - deinit
deinit - field
let rawValue: Int32+0x0 - func
close() throws -> () - func
copy(mode: System.FileDescriptor.AccessMode) throws -> CryptexKit.TempFd - func
fileDescriptor() -> System.FileDescriptor - func
load() throws -> Foundation.Data - func
withBorrowingFd<A, B where B: Error>((System.FileDescriptor) throws(B) -> A) throws(B) -> A - init
init(fd: System.FileDescriptor) -> CryptexKit.TempFd - var
var path: System.FilePath { get }
Header
struct TempFd: ~Swift.Copyable { let rawValue: Swift.Int32 init(fd: System.FileDescriptor) var path: System.FilePath { get } func withBorrowingFd<A, B>(_: (_: System.FileDescriptor) throws(B) -> A) throws(B) -> A where B: Swift.Error func fileDescriptor() -> System.FileDescriptor func copy(mode: System.FileDescriptor.AccessMode) throws -> CryptexKit.TempFd func load() throws -> Foundation.Data func close() throws static func create(at: System.FileDescriptor, prefix: Swift.String, suffixlen: Swift.Int) throws -> CryptexKit.TempFd static func create(prefix: Swift.String) throws -> CryptexKit.TempFd deinit }