pub struct ConditionalAccess;Expand description
Conditional Access Support (§8.4.3) — module-provided. On open, enquires the
module’s supported CA_system_ids (Notification::CaInfo); decodes
ca_pmt_reply (Notification::CaPmtReply). The host sends ca_pmt via
HostRequest::SendCaPmt.
Trait Implementations§
Source§impl Debug for ConditionalAccess
impl Debug for ConditionalAccess
Source§impl Default for ConditionalAccess
impl Default for ConditionalAccess
Source§impl Resource for ConditionalAccess
impl Resource for ConditionalAccess
Source§fn id(&self) -> ResourceId
fn id(&self) -> ResourceId
The resource this handler serves.
Source§fn on_open(&mut self) -> Result<ResourceOut>
fn on_open(&mut self) -> Result<ResourceOut>
The session for this resource just opened.
Source§fn on_apdu(&mut self, apdu: &[u8]) -> Result<ResourceOut>
fn on_apdu(&mut self, apdu: &[u8]) -> Result<ResourceOut>
An APDU arrived on this resource’s session.
Source§fn tick(&mut self, _elapsed: Duration) -> Result<ResourceOut>
fn tick(&mut self, _elapsed: Duration) -> Result<ResourceOut>
Logical time advanced (for resources with timers, e.g. date_time).
Source§fn reset(&mut self)
fn reset(&mut self)
Reset this resource’s internal state (r10-W-19): called on
HostRequest::Init and
HostRequest::Shutdown so a
re-inserted CAM starts a fresh handshake against clean state rather
than one latched by whatever the previous module left behind (e.g. a
ready flag that never re-opens the profile_change gate on a
second profile exchange). The default no-op is only correct for a
resource that carries no state between calls.Auto Trait Implementations§
impl Forget for ConditionalAccess
impl Freeze for ConditionalAccess
impl RefUnwindSafe for ConditionalAccess
impl Send for ConditionalAccess
impl Sync for ConditionalAccess
impl Unpin for ConditionalAccess
impl UnsafeUnpin for ConditionalAccess
impl UnwindSafe for ConditionalAccess
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