pub enum CrossMobError {
NoContactDirectory,
UnknownMob(String),
NoPeerHandle(String),
MissingPeerPubkey {
mob_id: Option<String>,
},
MemberNotFound {
member_id: String,
mob_id: String,
},
NoCommsInfo {
member_id: String,
mob_id: String,
},
Mob(MobError),
PeerSpec(String),
Remote(RemoteMobError),
}Expand description
Errors from cross-mob operations.
Variants§
NoContactDirectory
No contact directory configured on this runtime.
UnknownMob(String)
Mob ID not found in the contact directory.
NoPeerHandle(String)
No peer mob handle registered for this mob (required for inproc).
MissingPeerPubkey
Caller asked to wire a non-inproc peer but did not supply (or could not derive) a 32-byte Ed25519 pubkey. Mobkit refuses to build an unsigned descriptor on real transports — meerkat-comms would then admit any sender at ingress.
MemberNotFound
Member not found in the target mob’s roster.
NoCommsInfo
Member has no comms runtime (not comms-enabled).
Mob(MobError)
The underlying mob operation failed.
PeerSpec(String)
Failed to build a trusted peer spec.
Remote(RemoteMobError)
A cross-process control-channel call failed. Phase 1 returns this
for any TCP/UDS contact entry that does not also have an
in-process MobHandle registered — the seam is laid out, the
real client lands in Phase 2.
Trait Implementations§
Source§impl Debug for CrossMobError
impl Debug for CrossMobError
Source§impl Display for CrossMobError
impl Display for CrossMobError
Source§impl Error for CrossMobError
impl Error for CrossMobError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<MobError> for CrossMobError
impl From<MobError> for CrossMobError
Source§impl From<RemoteMobError> for CrossMobError
impl From<RemoteMobError> for CrossMobError
Source§fn from(err: RemoteMobError) -> Self
fn from(err: RemoteMobError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for CrossMobError
impl !UnwindSafe for CrossMobError
impl Freeze for CrossMobError
impl Send for CrossMobError
impl Sync for CrossMobError
impl Unpin for CrossMobError
impl UnsafeUnpin for CrossMobError
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
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>
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>
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