Low level access to underlying socket or pipe. There are three smart constructors:
Network.Socket.socketAsBearerNetwork.Pipe.pipeAsBearerTest.Mux.queuesAsBearer
Constructors
Bearerwrite :: Tracer m BearerTrace -> TimeoutFn m -> SDU -> m TimeTimestamp and send SDU.
writeMany :: Tracer m BearerTrace -> TimeoutFn m -> [SDU] -> m TimeTimestamp and send many SDUs.
read :: Tracer m BearerTrace -> TimeoutFn m -> m (SDU, Time)Read a SDU
sduSize :: SDUSizeReturn a suitable SDU payload size.
batchSize :: IntReturn a suitable batch size
name :: StringName of the bearer
egressInterval :: DiffTimeEgress poll interval