pub struct AlwaysAllow;Expand description
An ActivationAuthProvider that always grants CentralSecurity activation. Suitable for testing
and development environments only.
Trait Implementations§
Source§impl ActivationAuthProvider for AlwaysAllow
impl ActivationAuthProvider for AlwaysAllow
Source§fn authenticate(
&mut self,
_source_address: u16,
_oem_data: &[u8],
) -> Result<(), ActivationDenialReason>
fn authenticate( &mut self, _source_address: u16, _oem_data: &[u8], ) -> Result<(), ActivationDenialReason>
Validates OEM-specific authentication data for a CentralSecurity activation request. Read more
Auto Trait Implementations§
impl Freeze for AlwaysAllow
impl RefUnwindSafe for AlwaysAllow
impl Send for AlwaysAllow
impl Sync for AlwaysAllow
impl Unpin for AlwaysAllow
impl UnsafeUnpin for AlwaysAllow
impl UnwindSafe for AlwaysAllow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more