pub enum SupervisorMaterializeBindError {
Admission(String),
AdmissionRejected(String),
TrustRepair(String),
Commit(String),
}Expand description
Typed failure surface for bind_supervisor_for_materialized_session.
Variants carry the inner reason strings from the shared bind stages so the member host can persist/report exactly what the drain path would have replied on the wire.
Variants§
Admission(String)
Generated bind admission could not be staged (session not registered, DSL rejection, missing or malformed admission feedback).
AdmissionRejected(String)
MeerkatMachine admission rejected the bind (fail-closed verdict).
TrustRepair(String)
The binding is already current (idempotent rebind) but the private admission trust edge could not be re-published.
Commit(String)
The bind commit failed; any staged bind was rolled back (rollback failures are reported inside the message).
Trait Implementations§
Source§impl Error for SupervisorMaterializeBindError
impl Error for SupervisorMaterializeBindError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SupervisorMaterializeBindError
impl RefUnwindSafe for SupervisorMaterializeBindError
impl Send for SupervisorMaterializeBindError
impl Sync for SupervisorMaterializeBindError
impl Unpin for SupervisorMaterializeBindError
impl UnsafeUnpin for SupervisorMaterializeBindError
impl UnwindSafe for SupervisorMaterializeBindError
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