pub struct AbsRequestHandler {
pub snapshot_request_handler: Option<SnapshotRequestHandler>,
pub pruned_banks_receiver: DroppedSlotsReceiver,
}
Fields
snapshot_request_handler: Option<SnapshotRequestHandler>
pruned_banks_receiver: DroppedSlotsReceiver
Implementations
sourceimpl AbsRequestHandler
impl AbsRequestHandler
pub fn handle_snapshot_requests(
&self,
accounts_db_caching_enabled: bool,
test_hash_calculation: bool,
use_index_hash_calculation: bool,
non_snapshot_time_us: u128,
last_full_snapshot_slot: &mut Option<Slot>
) -> Option<Result<u64, SnapshotError>>
sourcepub fn handle_pruned_banks(&self, bank: &Bank, is_from_abs: bool) -> usize
pub fn handle_pruned_banks(&self, bank: &Bank, is_from_abs: bool) -> usize
is_from_abs
is true if the caller is the AccountsBackgroundService
Auto Trait Implementations
impl RefUnwindSafe for AbsRequestHandler
impl Send for AbsRequestHandler
impl Sync for AbsRequestHandler
impl Unpin for AbsRequestHandler
impl UnwindSafe for AbsRequestHandler
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more