pub struct PeerCeiling {
pub edition: Edition,
pub dtypes: HashSet<DType>,
pub capabilities: HashMap<String, String>,
pub max_message_size: usize,
}Expand description
What one served peer can decode, learned at its handshake. The driver checks
every payload it relays against the target leg’s ceiling through the
session’s RelayPolicy, not against the session
edition alone.
Fields§
§edition: EditionThe highest edition this peer and this build both implement, which may
exceed the session edition
(workflow_edition).
dtypes: HashSet<DType>§capabilities: HashMap<String, String>What the peer advertised; query with rlmesh_proto::has_capability.
max_message_size: usizeThe largest message the peer accepts, in bytes.
Implementations§
Source§impl PeerCeiling
impl PeerCeiling
The highest edition this build retains among a peer’s advertised
supported names, or None when they share none.
Trait Implementations§
Source§impl Clone for PeerCeiling
impl Clone for PeerCeiling
Source§impl Debug for PeerCeiling
impl Debug for PeerCeiling
impl Eq for PeerCeiling
Source§impl PartialEq for PeerCeiling
impl PartialEq for PeerCeiling
impl StructuralPartialEq for PeerCeiling
Auto Trait Implementations§
impl Freeze for PeerCeiling
impl RefUnwindSafe for PeerCeiling
impl Send for PeerCeiling
impl Sync for PeerCeiling
impl Unpin for PeerCeiling
impl UnsafeUnpin for PeerCeiling
impl UnwindSafe for PeerCeiling
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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
Compare self to
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>
Wrap the input message
T in a tonic::Request