pub struct AdmittedMoqPeer {
pub peer: PeerIdentity,
pub tenant: String,
pub epoch: u64,
pub head_digest: [u8; 64],
pub subject_ed25519: [u8; 32],
pub carrier_node_id: [u8; 32],
}Expand description
The outcome of a successful admission: a typed admitted subject and tenant from current accepted Ed25519 + ML-DSA-65 evidence.
Fields§
§peer: PeerIdentityThe authenticated application subject (the did:at9p DID).
tenant: StringServer-resolved tenant for the verified subject (authoritative server-side state, never caller-supplied).
epoch: u64Accepted-state epoch the proof was verified against.
head_digest: [u8; 64]Accepted-state head digest the proof was verified against.
subject_ed25519: [u8; 32]The accepted current Ed25519 key that proved possession. Retained with the tunnel witness so an active session can be invalidated if that key is rotated out without changing the tenant mapping.
carrier_node_id: [u8; 32]The carrier NodeId, recorded as metadata only. Never an identity input.
Trait Implementations§
Source§impl Clone for AdmittedMoqPeer
impl Clone for AdmittedMoqPeer
Source§fn clone(&self) -> AdmittedMoqPeer
fn clone(&self) -> AdmittedMoqPeer
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 moreAuto Trait Implementations§
impl Freeze for AdmittedMoqPeer
impl RefUnwindSafe for AdmittedMoqPeer
impl Send for AdmittedMoqPeer
impl Sync for AdmittedMoqPeer
impl Unpin for AdmittedMoqPeer
impl UnsafeUnpin for AdmittedMoqPeer
impl UnwindSafe for AdmittedMoqPeer
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> 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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more