rustls-0.0.0.0: TLS bindings for Rustls
Safe HaskellNone
LanguageHaskell2010

Rustls.Internal.FFI

Description

Internal module, not subject to PVP.

Synopsis

Client

Config

Connection

Server

Config

Certificate stuff

Connection

Read/write

Read

Write

Misc

Logging

data LogParams Source #

Instances

Instances details
Generic LogParams Source # 
Instance details

Defined in Rustls.Internal.FFI

Associated Types

type Rep LogParams :: Type -> Type #

GStorable LogParams Source # 
Instance details

Defined in Rustls.Internal.FFI

type Rep LogParams Source # 
Instance details

Defined in Rustls.Internal.FFI

type Rep LogParams = D1 ('MetaData "LogParams" "Rustls.Internal.FFI" "rustls-0.0.0.0-inplace" 'False) (C1 ('MetaCons "LogParams" 'PrefixI 'True) (S1 ('MetaSel ('Just "rustlsLogParamsLevel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LogLevel) :*: S1 ('MetaSel ('Just "rustlsLogParamsMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Str)))

newtype LogLevel Source #

Constructors

LogLevel CSize 

Instances

Instances details
Eq LogLevel Source # 
Instance details

Defined in Rustls.Internal.FFI

Storable LogLevel Source # 
Instance details

Defined in Rustls.Internal.FFI

Misc

data Str Source #

Constructors

Str CString CSize 

Instances

Instances details
Generic Str Source # 
Instance details

Defined in Rustls.Internal.FFI

Associated Types

type Rep Str :: Type -> Type #

Methods

from :: Str -> Rep Str x #

to :: Rep Str x -> Str #

GStorable Str Source # 
Instance details

Defined in Rustls.Internal.FFI

Methods

gsizeOf :: Str -> Int #

galignment :: Str -> Int #

gpeekByteOff :: Ptr b -> Int -> IO Str #

gpokeByteOff :: Ptr b -> Int -> Str -> IO () #

type Rep Str Source # 
Instance details

Defined in Rustls.Internal.FFI

data SliceBytes Source #

Constructors

SliceBytes (Ptr Word8) CSize 

Instances

Instances details
Generic SliceBytes Source # 
Instance details

Defined in Rustls.Internal.FFI

Associated Types

type Rep SliceBytes :: Type -> Type #

GStorable SliceBytes Source # 
Instance details

Defined in Rustls.Internal.FFI

type Rep SliceBytes Source # 
Instance details

Defined in Rustls.Internal.FFI

data Userdata Source #

(Unused) userdata.

Result

newtype Result Source #

Constructors

Result Word32 

Instances

Instances details
Eq Result Source # 
Instance details

Defined in Rustls.Internal.FFI

Methods

(==) :: Result -> Result -> Bool #

(/=) :: Result -> Result -> Bool #

Ord Result Source # 
Instance details

Defined in Rustls.Internal.FFI

Show Result Source # 
Instance details

Defined in Rustls.Internal.FFI

Some values

IOResult

newtype IOResult Source #

Constructors

IOResult CInt 

Instances

Instances details
Eq IOResult Source # 
Instance details

Defined in Rustls.Internal.FFI

TLS params

newtype TLSVersion Source #

A TLS protocol version supported by Rustls.

Constructors

TLSVersion 

Fields

Root cert store