Enum googapis::google::cloud::pubsublite::v1::publish_request::RequestType [−][src]
pub enum RequestType {
InitialRequest(InitialPublishRequest),
MessagePublishRequest(MessagePublishRequest),
}
Expand description
The type of request this is.
Variants
InitialRequest(InitialPublishRequest)
Initial request on the stream.
Tuple Fields of InitialRequest
MessagePublishRequest(MessagePublishRequest)
Request to publish messages.
Tuple Fields of MessagePublishRequest
Implementations
pub fn merge<B>(
field: &mut Option<RequestType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RequestType
impl Send for RequestType
impl Sync for RequestType
impl Unpin for RequestType
impl UnwindSafe for RequestType
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more