Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- module OTel.API.Baggage.Core.Class
- data Baggage
- nullBaggage :: Baggage -> Bool
- sizeBaggage :: Baggage -> Int
- memberBaggage :: Key Text -> Baggage -> Bool
- lookupBaggage :: Key Text -> Baggage -> Maybe Text
- findWithDefaultBaggage :: Text -> Key Text -> Baggage -> Text
- deleteBaggage :: Key Text -> Baggage -> Baggage
- filterBaggage :: (Text -> Bool) -> Baggage -> Baggage
- filterWithKeyBaggage :: (Key Text -> Text -> Bool) -> Baggage -> Baggage
- foldMapWithKeyBaggage :: forall m. Monoid m => (Key Text -> Text -> m) -> Baggage -> m
- toListBaggage :: Baggage -> [(Key Text, Text)]
- module OTel.API.Baggage.Core.Builder
- module OTel.API.Baggage.Core.Context
Synopsis
otel-api-baggage-core
STUB
module OTel.API.Baggage.Core.Class
Instances
Monoid Baggage Source # | |
Semigroup Baggage Source # | |
Show Baggage Source # | |
Eq Baggage Source # | |
KV (BaggageBuilder Baggage) Source # | |
Defined in OTel.API.Baggage.Core.Internal type KVConstraints (BaggageBuilder Baggage) :: Type -> Type -> Constraint # (.@) :: KVConstraints (BaggageBuilder Baggage) from to => Key to -> from -> BaggageBuilder Baggage # | |
type KVConstraints (BaggageBuilder Baggage) Source # | |
Defined in OTel.API.Baggage.Core.Internal |
nullBaggage :: Baggage -> Bool Source #
sizeBaggage :: Baggage -> Int Source #