pub struct NodeHooks {
pub note_external_load: fn(),
pub beacon_confirm: fn(),
}Expand description
Board couplings the node cannot express itself.
Fields§
§note_external_load: fn()Mark a completed node transmit for a board’s battery-level estimator: voltage sampled near a transmission is sagged, not resting OCV. Boards with no estimator pass a no-op.
beacon_confirm: fn()Confirmation feedback for a button-triggered beacon, fired when the MAC accepts the send — a refusal (queue full, duty limiting) leaves the slot silent. Boards with no indicator pass a no-op.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeHooks
impl RefUnwindSafe for NodeHooks
impl Send for NodeHooks
impl Sync for NodeHooks
impl Unpin for NodeHooks
impl UnwindSafe for NodeHooks
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)