/// Require that server is loaded. Databases are loaded and server is ready to read/write.
Require that server is loaded. Databases are loaded and server is ready to read/write.
Require that server is loaded . Databases are loaded and server is ready to read / write .
fn require_initialized(&self) -> Result<ServerId> {
        // since a server ID is the pre-requirement for init, check this first
        let server_id = self.require_id()?;
        // ordering here isn't that important since this method is not used to check-and-modify the flag
        if self.initialized() {
            Ok(server_id)
        } else {
            Err(Error::DatabasesNotLoaded)
        }
    }
fn require_initialized ( & self ) -> Result < ServerId > { // since a server ID is the pre-requirement for init, check this first let server_id = self . require_id ( ) ? ; // ordering here isn't that important since this method is not used to check-and-modify the flag if self . initialized ( ) { Ok ( server_id ) } else { Err ( Error :: DatabasesNotLoaded ) } }
Require that server is loaded.
Require that server is loaded .
&self