pub struct WebAssessmentWebSocketReviewAudit { /* private fields */ }Expand description
Redaction-safe result of one selected WebSocket protocol review.
Implementations§
Source§impl WebAssessmentWebSocketReviewAudit
impl WebAssessmentWebSocketReviewAudit
pub const fn schema(&self) -> &'static str
pub const fn capability_id(&self) -> &'static str
pub const fn selected(&self) -> bool
pub fn policy_reference(&self) -> &str
pub fn endpoint_reference(&self) -> &str
pub const fn origin_mode(&self) -> WebSocketOriginMode
pub const fn subprotocol_requested(&self) -> bool
pub const fn subprotocol_negotiated(&self) -> bool
pub const fn compression_enabled(&self) -> bool
pub const fn reconnect_enabled(&self) -> bool
pub const fn authentication(&self) -> &'static str
pub const fn context(&self) -> &'static str
pub const fn transport(&self) -> &'static str
pub const fn http2_extended_connect(&self) -> &'static str
pub const fn request_count(&self) -> u8
pub const fn request_attempt_count(&self) -> u8
pub const fn request_admitted_count(&self) -> u8
Sourcepub const fn connection_count(&self) -> u8
pub const fn connection_count(&self) -> u8
Direct connection attempts. V1 never retries or reconnects.
pub const fn connection_attempt_count(&self) -> u8
pub const fn handshake_completed_count(&self) -> u8
pub const fn configured_message_count(&self) -> u64
pub const fn outbound_message_count(&self) -> u64
pub const fn inbound_message_count(&self) -> u64
pub const fn outbound_control_frame_count(&self) -> u64
pub const fn inbound_control_frame_count(&self) -> u64
pub const fn outbound_application_bytes(&self) -> u64
pub const fn inbound_application_bytes(&self) -> u64
Sourcepub const fn transport_read_bytes(&self) -> u64
pub const fn transport_read_bytes(&self) -> u64
Bytes read from the direct socket, including the HTTP Upgrade and framing; WSS counts encrypted TLS records at this layer.
Sourcepub const fn transport_write_bytes(&self) -> u64
pub const fn transport_write_bytes(&self) -> u64
Bytes written to the direct socket, with the same scope as reads.
pub const fn transport_byte_scope(&self) -> &'static str
Sourcepub const fn accounted_request_body_bytes(&self) -> u64
pub const fn accounted_request_body_bytes(&self) -> u64
HTTP request-body bytes charged to the parent lease. WebSocket payloads are child-local and this is always zero in V1.
Sourcepub const fn accounted_response_bytes(&self) -> u64
pub const fn accounted_response_bytes(&self) -> u64
Raw socket bytes read and charged exactly once to the sole parent lease.
pub const fn accounted_transport_response_bytes(&self) -> u64
pub const fn terminal(&self) -> WebSocketReviewTerminal
pub const fn failure(&self) -> Option<WebSocketReviewFailureKind>
pub const fn first_failure(&self) -> Option<WebSocketReviewFailureKind>
pub const fn completeness(&self) -> WebSocketReviewCompleteness
pub const fn expected_response_count(&self) -> u64
pub fn matched_response_count(&self) -> u64
pub fn mismatched_response_count(&self) -> u64
pub fn messages(&self) -> &[WebSocketReviewMessageAudit]
pub const fn limits(&self) -> WebSocketReviewExecutionLimits
pub const fn claim_limits(&self) -> &'static [WebSocketReviewClaimLimit]
Sourcepub fn is_consistent(&self) -> bool
pub fn is_consistent(&self) -> bool
Revalidates bounded counts and local request/response conservation.
Trait Implementations§
Source§impl Clone for WebAssessmentWebSocketReviewAudit
impl Clone for WebAssessmentWebSocketReviewAudit
Source§fn clone(&self) -> WebAssessmentWebSocketReviewAudit
fn clone(&self) -> WebAssessmentWebSocketReviewAudit
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for WebAssessmentWebSocketReviewAudit
impl StructuralPartialEq for WebAssessmentWebSocketReviewAudit
Auto Trait Implementations§
impl Freeze for WebAssessmentWebSocketReviewAudit
impl RefUnwindSafe for WebAssessmentWebSocketReviewAudit
impl Send for WebAssessmentWebSocketReviewAudit
impl Sync for WebAssessmentWebSocketReviewAudit
impl Unpin for WebAssessmentWebSocketReviewAudit
impl UnsafeUnpin for WebAssessmentWebSocketReviewAudit
impl UnwindSafe for WebAssessmentWebSocketReviewAudit
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more