pub struct DatabaseBootstrapError { /* private fields */ }Expand description
Failure to initialize the generated database’s stable-memory authority.
Cloning this error is cheap and preserves the original typed ic-memory
cause cached by generated database wiring.
Implementations§
Source§impl DatabaseBootstrapError
impl DatabaseBootstrapError
Sourcepub fn cause(&self) -> &RuntimeBootstrapError<MemoryBootstrapAdmissionError>
pub fn cause(&self) -> &RuntimeBootstrapError<MemoryBootstrapAdmissionError>
Borrow the authoritative ic-memory bootstrap failure.
Trait Implementations§
Source§impl Clone for DatabaseBootstrapError
impl Clone for DatabaseBootstrapError
Source§impl Debug for DatabaseBootstrapError
impl Debug for DatabaseBootstrapError
Source§impl Display for DatabaseBootstrapError
impl Display for DatabaseBootstrapError
Source§impl Error for DatabaseBootstrapError
impl Error for DatabaseBootstrapError
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<DatabaseBootstrapError> for Error
impl From<DatabaseBootstrapError> for Error
Source§fn from(err: DatabaseBootstrapError) -> Self
fn from(err: DatabaseBootstrapError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeBootstrapError<MemoryBootstrapAdmissionError>> for DatabaseBootstrapError
impl From<RuntimeBootstrapError<MemoryBootstrapAdmissionError>> for DatabaseBootstrapError
Source§fn from(source: RuntimeBootstrapError<MemoryBootstrapAdmissionError>) -> Self
fn from(source: RuntimeBootstrapError<MemoryBootstrapAdmissionError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for DatabaseBootstrapError
impl !UnwindSafe for DatabaseBootstrapError
impl Freeze for DatabaseBootstrapError
impl Send for DatabaseBootstrapError
impl Sync for DatabaseBootstrapError
impl Unpin for DatabaseBootstrapError
impl UnsafeUnpin for DatabaseBootstrapError
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