pub struct ApplicationLayerHandler {
pub stats: ApplicationStatistics,
/* private fields */
}Expand description
Application layer service handler
Fields§
§stats: ApplicationStatisticsApplication statistics
Implementations§
Source§impl ApplicationLayerHandler
impl ApplicationLayerHandler
Sourcepub fn process_apdu(
&mut self,
apdu: &Apdu,
_source: &[u8],
) -> Result<Option<Apdu>>
pub fn process_apdu( &mut self, apdu: &Apdu, _source: &[u8], ) -> Result<Option<Apdu>>
Process an incoming APDU
Sourcepub fn set_read_property_handler<F>(&mut self, handler: F)
pub fn set_read_property_handler<F>(&mut self, handler: F)
Set a service processor
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ApplicationLayerHandler
impl !UnwindSafe for ApplicationLayerHandler
impl Freeze for ApplicationLayerHandler
impl Send for ApplicationLayerHandler
impl Sync for ApplicationLayerHandler
impl Unpin for ApplicationLayerHandler
impl UnsafeUnpin for ApplicationLayerHandler
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