pub struct PollWorkerTaskRegistered {
pub supports_unknown_name_rejection: bool,
pub max_concurrent_tasks_per_app_worker: u32,
pub task_queue: String,
}Expand description
Confirms that Dex accepted the queue or reserved-slot registration.
Fields§
§supports_unknown_name_rejection: boolAllows this queue-owner stream to reject an assigned unknown Step type or RPC name. Reserved-slot streams may always reject unknown names.
max_concurrent_tasks_per_app_worker: u32Most reserved-slot streams Dex accepts from one app_worker_id on this Server. It counts all of them, including RPC_ONLY slots. Zero means the Server does not report a limit. Reported by Server protocol version 4 or later. A Worker whose configured concurrency exceeds it should fail to start with a clear error.
task_queue: StringThe task queue Dex registered this stream on; empty means the default task queue. Reported by Server protocol version 5 or later. A Worker that asked for a named task queue and reads another value here must close the stream and treat the registration as rejected: an older Server ignored the request.
Trait Implementations§
Source§impl Clone for PollWorkerTaskRegistered
impl Clone for PollWorkerTaskRegistered
Source§impl Debug for PollWorkerTaskRegistered
impl Debug for PollWorkerTaskRegistered
Source§impl Default for PollWorkerTaskRegistered
impl Default for PollWorkerTaskRegistered
impl Eq for PollWorkerTaskRegistered
Source§impl Hash for PollWorkerTaskRegistered
impl Hash for PollWorkerTaskRegistered
Source§impl Message for PollWorkerTaskRegistered
impl Message for PollWorkerTaskRegistered
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for PollWorkerTaskRegistered
impl PartialEq for PollWorkerTaskRegistered
impl StructuralPartialEq for PollWorkerTaskRegistered
Auto Trait Implementations§
impl Forget for PollWorkerTaskRegistered
impl Freeze for PollWorkerTaskRegistered
impl Move for PollWorkerTaskRegistered
impl RefUnwindSafe for PollWorkerTaskRegistered
impl Send for PollWorkerTaskRegistered
impl Sync for PollWorkerTaskRegistered
impl Unpin for PollWorkerTaskRegistered
impl UnsafeUnpin for PollWorkerTaskRegistered
impl UnwindSafe for PollWorkerTaskRegistered
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request