otel-api-baggage-core-0.0.0: STUB
Safe HaskellSafe-Inferred
LanguageHaskell2010

OTel.API.Baggage.Core.Internal

Contents

Synopsis

Disclaimer

In general, changes to this module will not be reflected in the library's version updates. Direct use of this module should be done with utmost care, otherwise invariants will easily be violated.

class Monad m => MonadBaggage m where Source #

Minimal complete definition

Nothing

Methods

getBaggage :: m Baggage Source #

default getBaggage :: (MonadTrans t, MonadBaggage n, m ~ t n) => m Baggage Source #

setBaggage :: Baggage -> m a -> m a Source #

default setBaggage :: (MonadTransControl t, MonadBaggage n, m ~ t n) => Baggage -> m a -> m a Source #

Instances

Instances details
MonadBaggage m => MonadBaggage (LoggingT m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

(MonadBaggage m, MonadUnliftIO m) => MonadBaggage (ResourceT m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

MonadBaggage m => MonadBaggage (MaybeT m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

MonadBaggage m => MonadBaggage (ExceptT e m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

MonadBaggage m => MonadBaggage (IdentityT m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

MonadBaggage m => MonadBaggage (ReaderT r m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

MonadBaggage m => MonadBaggage (StateT r m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

Methods

getBaggage :: StateT r m Baggage Source #

setBaggage :: Baggage -> StateT r m a -> StateT r m a Source #

MonadBaggage m => MonadBaggage (StateT r m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

Methods

getBaggage :: StateT r m Baggage Source #

setBaggage :: Baggage -> StateT r m a -> StateT r m a Source #

(MonadBaggage m, Monoid w) => MonadBaggage (WriterT w m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

(MonadBaggage m, Monoid w) => MonadBaggage (WriterT w m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

(MonadBaggage m, Monoid w) => MonadBaggage (RWST r w s m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

Methods

getBaggage :: RWST r w s m Baggage Source #

setBaggage :: Baggage -> RWST r w s m a -> RWST r w s m a Source #

(MonadBaggage m, Monoid w) => MonadBaggage (RWST r w s m) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

Methods

getBaggage :: RWST r w s m Baggage Source #

setBaggage :: Baggage -> RWST r w s m a -> RWST r w s m a Source #

newtype Baggage Source #

Constructors

Baggage 

foldMapWithKeyBaggage :: forall m. Monoid m => (Key Text -> Text -> m) -> Baggage -> m Source #

newtype BaggageBuilder a Source #

Instances

Instances details
Applicative BaggageBuilder Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

Functor BaggageBuilder Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

Methods

fmap :: (a -> b) -> BaggageBuilder a -> BaggageBuilder b #

(<$) :: a -> BaggageBuilder b -> BaggageBuilder a #

Monoid a => Monoid (BaggageBuilder a) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

Semigroup a => Semigroup (BaggageBuilder a) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

KV (BaggageBuilder Baggage) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal

Associated Types

type KVConstraints (BaggageBuilder Baggage) :: Type -> Type -> Constraint #

Methods

(.@) :: KVConstraints (BaggageBuilder Baggage) from to => Key to -> from -> BaggageBuilder Baggage #

type KVConstraints (BaggageBuilder Baggage) Source # 
Instance details

Defined in OTel.API.Baggage.Core.Internal