SwiftstructCryptexKit

struct CryptexKit.TempFd

Members 11

  1. funcstatic create(at: System.FileDescriptor, prefix: String, suffixlen: Int) throws -> CryptexKit.TempFd
  2. funcstatic create(prefix: String) throws -> CryptexKit.TempFd
  3. deinitdeinit
  4. fieldlet rawValue: Int32+0x0
  5. funcclose() throws -> ()
  6. funccopy(mode: System.FileDescriptor.AccessMode) throws -> CryptexKit.TempFd
  7. funcfileDescriptor() -> System.FileDescriptor
  8. funcload() throws -> Foundation.Data
  9. funcwithBorrowingFd<A, B where B: Error>((System.FileDescriptor) throws(B) -> A) throws(B) -> A
  10. initinit(fd: System.FileDescriptor) -> CryptexKit.TempFd
  11. varvar path: System.FilePath { get }
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
}