pub enum Role {
Publisher,
Subscriber,
}Expand description
Publisher (egress) vs subscriber (ingress) side of a broadcast, used as a
label on a Snapshot traffic row. The internal bump paths track the
side statically, so this only surfaces on the aggregate read side.
This is the direction traffic flowed, not the session role a client advertises
in its SETUP (crate::Role): one session records on both sides.
Variants§
Publisher
Egress: bytes this node published to a peer.
Subscriber
Ingress: bytes this node consumed from a peer.
Implementations§
Trait Implementations§
impl Copy for Role
impl Eq for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl Freeze for Role
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnsafeUnpin for Role
impl UnwindSafe for Role
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