rename pin command handler factory method
This commit is contained in:
@@ -5,7 +5,7 @@ use std::time::Instant;
|
||||
pub trait PinDevice {
|
||||
fn set_pin(&self, pin: u8, value: PinState, valid_until: Instant, priority: u8);
|
||||
|
||||
fn new_pinset_callback<'a>(&self) -> impl Fn(ValidPriorityCommand<SetPin>) + 'a
|
||||
fn new_set_pin_callback<'a>(&self) -> impl Fn(ValidPriorityCommand<SetPin>) + 'a
|
||||
where
|
||||
Self: Sized + Clone + 'a,
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user