pub enum MemberLiveError {
ModelNotRealtime {
model: String,
provider: String,
},
AdapterUnavailable {
provider: String,
},
TransportUnavailable,
ChannelAlreadyBound,
ChannelNotFound,
TransportUnsupported {
requested: String,
},
Unavailable {
reason: String,
},
Internal {
reason: String,
},
}Expand description
Typed failure vocabulary for member live serving (DEC-P6B-L3).
Mirrors the six landed V4 live rejection causes plus the ADJ-P4-7
generic pair (Unavailable / Internal). Every facade pipeline failure
maps onto exactly one variant — never a stringly bucket — and every
variant maps totally onto a wire cause via
Self::to_bridge_rejection.
Variants§
ModelNotRealtime
The member’s resolved model has no realtime capability (B19).
No live adapter is available for the member’s provider (B18 / #302 provider-known adapter absence).
The host serves no live transport for this open (no factory, no configured websocket transport).
ChannelAlreadyBound
The member session already has an active live channel.
ChannelNotFound
The addressed live channel does not exist for this member session.
TransportUnsupported
The requested live transport is not supported by this host.
The live substrate cannot serve this member right now (session not resident, host not ready). Transient — degrade typed, never quiet.
Internal
An invariant was violated while serving. Maps to Internal.
Implementations§
Source§impl MemberLiveError
impl MemberLiveError
Sourcepub fn to_bridge_rejection(&self) -> BridgeRejectionCause
pub fn to_bridge_rejection(&self) -> BridgeRejectionCause
The ONE total MemberLiveError → BridgeRejectionCause conversion
(ADJ-P6B-1). Both the member drain arms and the controlling-side
local branch project through this impl — cause parity across
placements is exactly this match. Exhaustive by construction: a new
variant forces an arm here.
Trait Implementations§
Source§impl Clone for MemberLiveError
impl Clone for MemberLiveError
Source§fn clone(&self) -> MemberLiveError
fn clone(&self) -> MemberLiveError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MemberLiveError
impl Debug for MemberLiveError
Source§impl Display for MemberLiveError
impl Display for MemberLiveError
impl Eq for MemberLiveError
Source§impl Error for MemberLiveError
impl Error for MemberLiveError
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 PartialEq for MemberLiveError
impl PartialEq for MemberLiveError
impl StructuralPartialEq for MemberLiveError
Auto Trait Implementations§
impl Freeze for MemberLiveError
impl RefUnwindSafe for MemberLiveError
impl Send for MemberLiveError
impl Sync for MemberLiveError
impl Unpin for MemberLiveError
impl UnsafeUnpin for MemberLiveError
impl UnwindSafe for MemberLiveError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CoreExecutorTurnFinalizationGuard for Twhere
T: Send,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.