ByteClient.stats.status: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend as ByteClient Lines 196-202 of mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend&start_line=196&end_line=202 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend as Client import mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend as Protocol import mylsm-lsm-store@0.6.0.1/src/coordinator/StatsCodec.bend as StatsCodec import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes def stats.status( status: Protocol.ResponseStatus, payload: Bytes.Bytes ) -> Result<&1, &1, Client.Error, StatsCodec.Stats>: match status: case Protocol.Success{}: stats.payload(StatsCodec.parse(payload)) case _: Fail{Client.OwnerRejected{status}} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/ByteClient.bend&name=stats.payload https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Client.bend&name=Error https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend&name=ResponseStatus https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/StatsCodec.bend&name=Stats https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/StatsCodec.bend&name=parse