pub struct AppCheckerNull {}
Expand description
A sample Credentials Checking Policy that approves all apps.
Implementations§
Trait Implementations§
Source§impl<'a> AppCredentialsPolicy<'a> for AppCheckerNull
impl<'a> AppCredentialsPolicy<'a> for AppCheckerNull
Source§fn require_credentials(&self) -> bool
fn require_credentials(&self) -> bool
Whether credentials are required or not. Read more
Source§fn check_credentials(
&self,
credentials: TbfFooterV2Credentials,
binary: &'a [u8],
) -> Result<(), (ErrorCode, TbfFooterV2Credentials, &'a [u8])>
fn check_credentials( &self, credentials: TbfFooterV2Credentials, binary: &'a [u8], ) -> Result<(), (ErrorCode, TbfFooterV2Credentials, &'a [u8])>
Check a particular credential. Read more
Source§fn set_client(&self, _client: &'a dyn AppCredentialsPolicyClient<'a>)
fn set_client(&self, _client: &'a dyn AppCredentialsPolicyClient<'a>)
Set the client which gets notified after the credential check completes.
Auto Trait Implementations§
impl Freeze for AppCheckerNull
impl RefUnwindSafe for AppCheckerNull
impl Send for AppCheckerNull
impl Sync for AppCheckerNull
impl Unpin for AppCheckerNull
impl UnwindSafe for AppCheckerNull
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