Enumerations

enum class WriteEvent
Name Value Comments
kSendMsg 0 --
kScheduled 1 --
kSent 2 --
kAcked 3 --
kClosed 4 --
kCount 5

Must be last.

Use of this enum via this name is internal to gRPC.

API users should get this enumeration via the

EventEngine::Endpoint::WriteEvent.

Defined at line 23 of file ../../third_party/grpc/src/include/grpc/event_engine/internal/write_event.h

Records

Functions

  • template <typename Result, typename T>
    const Result & SliceCast (const T & value, SliceCastable<Result, T> )

    Cast to `const Result

    &

    ` from `const T

    &

    ` without any runtime checks.

    This is only valid if `sizeof(Result) == sizeof(T)`, and if `Result`, `T` are

    opted in as compatible via `SliceCastable`.

    Defined at line 43 of file ../../third_party/grpc/src/include/grpc/event_engine/internal/slice_cast.h

  • template <typename Result, typename T>
    Result & SliceCast (T & value, SliceCastable<Result, T> )

    Cast to `Result

    &

    ` from `T

    &

    ` without any runtime checks.

    This is only valid if `sizeof(Result) == sizeof(T)`, and if `Result`, `T` are

    opted in as compatible via `SliceCastable`.

    Defined at line 55 of file ../../third_party/grpc/src/include/grpc/event_engine/internal/slice_cast.h

  • template <typename Resulttypename T>
    Result && SliceCast (T && value, SliceCastable<Result, T> )

    Cast to `Result

    &

    &

    ` from `T

    &

    &

    ` without any runtime checks.

    This is only valid if `sizeof(Result) == sizeof(T)`, and if `Result`, `T` are

    opted in as compatible via `SliceCastable`.

    Defined at line 67 of file ../../third_party/grpc/src/include/grpc/event_engine/internal/slice_cast.h