#[non_exhaustive]pub enum HostRequest<'a> {
Init,
SendCaPmt(&'a [u8]),
Shutdown,
}Expand description
A request the host application makes of the stack.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Init
Bring the interface up: reset the slot and open the transport connection.
SendCaPmt(&'a [u8])
Send a serialized ca_pmt APDU body to the CAM’s conditional-access
resource (descrambling request).
Shutdown
Tear the interface down (close sessions + transport connection).
Trait Implementations§
Source§impl<'a> Clone for HostRequest<'a>
impl<'a> Clone for HostRequest<'a>
Source§fn clone(&self) -> HostRequest<'a>
fn clone(&self) -> HostRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for HostRequest<'a>
impl<'a> Debug for HostRequest<'a>
impl<'a> Eq for HostRequest<'a>
Source§impl<'a> PartialEq for HostRequest<'a>
impl<'a> PartialEq for HostRequest<'a>
Source§fn eq(&self, other: &HostRequest<'a>) -> bool
fn eq(&self, other: &HostRequest<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for HostRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for HostRequest<'a>
impl<'a> RefUnwindSafe for HostRequest<'a>
impl<'a> Send for HostRequest<'a>
impl<'a> Sync for HostRequest<'a>
impl<'a> Unpin for HostRequest<'a>
impl<'a> UnsafeUnpin for HostRequest<'a>
impl<'a> UnwindSafe for HostRequest<'a>
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