• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // use super::prelude::*; // unused
2 
3 use crate::protocol::common::qxfer::{ParseAnnex, QXferReadBase};
4 
5 pub type qXferAuxvRead<'a> = QXferReadBase<'a, AuxvAnnex>;
6 
7 #[derive(Debug)]
8 pub struct AuxvAnnex;
9 
10 impl<'a> ParseAnnex<'a> for AuxvAnnex {
11     #[inline(always)]
from_buf(buf: &[u8]) -> Option<Self>12     fn from_buf(buf: &[u8]) -> Option<Self> {
13         if buf != b"" {
14             return None;
15         }
16 
17         Some(AuxvAnnex)
18     }
19 }
20