pub enum SourcePacketGate {
Open,
Rid(String),
}Expand description
Packet gate applied by transport to one published source.
Room policy decides in source-domain terms. The transport boundary receives only the packet-facing selection needed to build the worker-native gate without knowing room layout, source identity or relay placement.
Variants§
Trait Implementations§
Source§impl Clone for SourcePacketGate
impl Clone for SourcePacketGate
Source§fn clone(&self) -> SourcePacketGate
fn clone(&self) -> SourcePacketGate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SourcePacketGate
impl Debug for SourcePacketGate
Source§impl PartialEq for SourcePacketGate
impl PartialEq for SourcePacketGate
impl Eq for SourcePacketGate
impl StructuralPartialEq for SourcePacketGate
Auto Trait Implementations§
impl Freeze for SourcePacketGate
impl RefUnwindSafe for SourcePacketGate
impl Send for SourcePacketGate
impl Sync for SourcePacketGate
impl Unpin for SourcePacketGate
impl UnsafeUnpin for SourcePacketGate
impl UnwindSafe for SourcePacketGate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more