Struct openethereum::informant::FullNodeInformantData
source · [−]pub struct FullNodeInformantData {
pub client: Arc<Client>,
pub sync: Option<Arc<dyn SyncProvider>>,
pub net: Option<Arc<dyn ManageNetwork>>,
}Expand description
Informant data for a full node.
Fields
client: Arc<Client>sync: Option<Arc<dyn SyncProvider>>net: Option<Arc<dyn ManageNetwork>>Trait Implementations
sourceimpl InformantData for FullNodeInformantData
impl InformantData for FullNodeInformantData
sourcefn executes_transactions(&self) -> bool
fn executes_transactions(&self) -> bool
Whether it executes transactions
sourcefn is_major_importing(&self) -> bool
fn is_major_importing(&self) -> bool
Whether it is currently importing (also included in Report)
Auto Trait Implementations
impl !RefUnwindSafe for FullNodeInformantData
impl Send for FullNodeInformantData
impl Sync for FullNodeInformantData
impl Unpin for FullNodeInformantData
impl !UnwindSafe for FullNodeInformantData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more