#[non_exhaustive]pub enum Site {
Control,
Object,
Datagram,
StreamOpen,
StreamHeader,
StreamEnd,
}Expand description
Where a decision was taken.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Control
Object
Datagram
StreamOpen
StreamHeader
StreamEnd
Honours Action::Pass,
Action::ResetStream on a
data stream, and
Action::CloseSession on
either kind of stream — a session close is session-scoped, so no
site can be the wrong one for it. Everything else is refused;
delaying a stream’s end is expressed by delaying its last object.
CapCtx::is_control_stream is what splits the two published
columns.
Trait Implementations§
impl Copy for Site
impl Eq for Site
impl StructuralPartialEq for Site
Auto Trait Implementations§
impl Freeze for Site
impl RefUnwindSafe for Site
impl Send for Site
impl Sync for Site
impl Unpin for Site
impl UnsafeUnpin for Site
impl UnwindSafe for Site
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