pub enum JoinOutcome {
Admitted {
members: Vec<String>,
addrs: BTreeMap<u64, String>,
},
TokenSpent,
ProofInvalid,
Revoked,
}Expand description
The result of a join admission (MeshControl::admit).
Variants§
Admitted
Admitted — carries the current members as root-signed assertions plus the
advisory node_id -> mesh URL routing for them.
Fields
TokenSpent
The join token was already spent (single-use) → 409.
ProofInvalid
The possession proof was missing/stale/invalid → 403.
Revoked
The presented key is revoked (a durable tombstone bars it, F6) — an
explicit un-revoke is required before it can rejoin → 403.
Auto Trait Implementations§
impl Freeze for JoinOutcome
impl RefUnwindSafe for JoinOutcome
impl Send for JoinOutcome
impl Sync for JoinOutcome
impl Unpin for JoinOutcome
impl UnsafeUnpin for JoinOutcome
impl UnwindSafe for JoinOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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