All socket.rs generic/IP/TCP option helpers. Host options are typed effects; absence of a SockRef produces Unsupported, never an accepted option.
@[reducible, inline]
Instances For
- reuse : HostOption
- linger : HostOption
- keepalive : HostOption
- ttl : HostOption
- nodelay : HostOption
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[instance_reducible]
- address : SocketAddress.Hooks S E I
- os : String
- i32Layout : M S LocalLayout
- u32Layout : M S LocalLayout
- readI32 : MPlaceTy Memory.Provenance → M S Int32
- readTimeval : MPlaceTy Memory.Provenance → M S (Option Clock.Duration)
- setTimeout : F → Bool → Option Clock.Duration → M S Unit
- getTimeout : F → Bool → M S (Option Clock.Duration)
- takeError : F → M S (Option (IoError.HostError E))
- setHost : F → HostOption → Value → M S (Option (Except (IoError.HostError E) Unit))
- getHost : F → HostOption → M S (Option (Except (IoError.HostError E) Value))
Instances For
def
Miri.Interpreter.SocketOptions.setGeneric
{S F E I : Type}
(h : Hooks S F E I)
(socket : F)
(option : Int32)
(pointer : Memory.Pointer (Option Memory.Provenance))
(length : UInt64)
:
M S (Files.Result E Unit)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.SocketOptions.setIp
{S F E I : Type}
(h : Hooks S F E I)
(socket : F)
(option : Int32)
(pointer : Memory.Pointer (Option Memory.Provenance))
(length : UInt64)
:
M S (Files.Result E Unit)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.SocketOptions.setTcp
{S F E I : Type}
(h : Hooks S F E I)
(socket : F)
(option : Int32)
(pointer : Memory.Pointer (Option Memory.Provenance))
(length : UInt64)
:
M S (Files.Result E Unit)
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.SocketOptions.getGeneric
{S F E I : Type}
(h : Hooks S F E I)
(socket : F)
(option : Int32)
:
M S (Files.Result E (MPlaceTy Memory.Provenance))
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.SocketOptions.getIp
{S F E I : Type}
(h : Hooks S F E I)
(socket : F)
(option : Int32)
:
M S (Files.Result E (MPlaceTy Memory.Provenance))
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Miri.Interpreter.SocketOptions.getTcp
{S F E I : Type}
(h : Hooks S F E I)
(socket : F)
(option : Int32)
:
M S (Files.Result E (MPlaceTy Memory.Provenance))
Equations
- One or more equations did not get rendered due to their size.