pub enum EndRole {
Server,
Client,
Publisher,
Subscriber,
PublisherSubscriber,
Unknown,
}Expand description
Directional role of one stitch end. Package stitches carry no role: their direction already reads from ends order (importer first) and the Declared/Inferred verdicts.
Variants§
Server
A server route declaration (stitch_routes ends are always this: ROUTE entities are server-side evidence).
Client
Reserved: an HTTP client call (fetch/axios/client-stub evidence). No extractor emits this yet — present so the upgrade path needs no schema change when client-call detection lands.
Publisher
A topic publisher in this member.
Subscriber
A topic subscriber in this member.
PublisherSubscriber
Both publishes and subscribes in this member.
Unknown
Topic claimed with no pub/sub edges: direction unknown.
Trait Implementations§
impl Copy for EndRole
Source§impl<'de> Deserialize<'de> for EndRole
impl<'de> Deserialize<'de> for EndRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EndRole
impl StructuralPartialEq for EndRole
Auto Trait Implementations§
impl Freeze for EndRole
impl RefUnwindSafe for EndRole
impl Send for EndRole
impl Sync for EndRole
impl Unpin for EndRole
impl UnsafeUnpin for EndRole
impl UnwindSafe for EndRole
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