pub enum ScopeInitError {
ModeConflict(ScopeModeConflict),
NoScopedTables,
RegistryUnavailable(String),
}Expand description
Why a boundary initialization refused to seal Initialized.
Variants§
ModeConflict(ScopeModeConflict)
The process already sealed a conflicting mode.
NoScopedTables
Nothing was registered. Sealing Initialized over empty registries
would make every .with_rls() a silent no-op — the original
false-green. If the schema genuinely has no scoped tables, say so
with declare_no_scoped_tables.
A registry could not be populated (poisoned lock). The mode is left untouched so a half-filled registry is never published.
Trait Implementations§
Source§impl Clone for ScopeInitError
impl Clone for ScopeInitError
Source§fn clone(&self) -> ScopeInitError
fn clone(&self) -> ScopeInitError
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 moreSource§impl Debug for ScopeInitError
impl Debug for ScopeInitError
Source§impl Display for ScopeInitError
impl Display for ScopeInitError
impl Eq for ScopeInitError
Source§impl Error for ScopeInitError
impl Error for ScopeInitError
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()
Source§impl From<ScopeModeConflict> for ScopeInitError
impl From<ScopeModeConflict> for ScopeInitError
Source§fn from(conflict: ScopeModeConflict) -> Self
fn from(conflict: ScopeModeConflict) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScopeInitError
impl PartialEq for ScopeInitError
impl StructuralPartialEq for ScopeInitError
Auto Trait Implementations§
impl Freeze for ScopeInitError
impl RefUnwindSafe for ScopeInitError
impl Send for ScopeInitError
impl Sync for ScopeInitError
impl Unpin for ScopeInitError
impl UnsafeUnpin for ScopeInitError
impl UnwindSafe for ScopeInitError
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