Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data TraceState Source #
Instances
ToJSON TraceState Source # | |
Defined in OTel.API.Trace.Core.Internal toJSON :: TraceState -> Value # toEncoding :: TraceState -> Encoding # toJSONList :: [TraceState] -> Value # toEncodingList :: [TraceState] -> Encoding # omitField :: TraceState -> Bool # | |
Show TraceState Source # | |
Defined in OTel.API.Trace.Core.Internal showsPrec :: Int -> TraceState -> ShowS # show :: TraceState -> String # showList :: [TraceState] -> ShowS # | |
Eq TraceState Source # | |
Defined in OTel.API.Trace.Core.Internal (==) :: TraceState -> TraceState -> Bool # (/=) :: TraceState -> TraceState -> Bool # | |
KV (TraceStateBuilder TraceState) Source # | |
Defined in OTel.API.Trace.Core.Internal type KVConstraints (TraceStateBuilder TraceState) :: Type -> Type -> Constraint # (.@) :: KVConstraints (TraceStateBuilder TraceState) from to => Key to -> from -> TraceStateBuilder TraceState # | |
type KVConstraints (TraceStateBuilder TraceState) Source # | |
Defined in OTel.API.Trace.Core.Internal |
nullTraceState :: TraceState -> Bool Source #
sizeTraceState :: TraceState -> Int Source #
memberTraceState :: Key Text -> TraceState -> Bool Source #
lookupTraceState :: Key Text -> TraceState -> Maybe Text Source #
findWithDefaultTraceState :: Text -> Key Text -> TraceState -> Text Source #
deleteTraceState :: Key Text -> TraceState -> TraceState Source #
filterTraceState :: (Text -> Bool) -> TraceState -> TraceState Source #
filterWithKeyTraceState :: (Key Text -> Text -> Bool) -> TraceState -> TraceState Source #
foldMapWithKeyTraceState :: forall m. Monoid m => (Key Text -> Text -> m) -> TraceState -> m Source #
toListTraceState :: TraceState -> [(Key Text, Text)] Source #
data TraceStateBuilder a Source #
Instances
buildTraceState :: forall m. MonadThrow m => TraceStateBuilder TraceState -> m TraceState Source #