Sign in
android
/
platform
/
external
/
rust
/
crates
/
gdbstub
/
f15aee5
/
.
/
src
/
protocol
/
commands
/
_bs.rs
blob: a4cea684ca5ec451f2851b9abd01e52fd9450fe9 [
file
] [
log
] [
blame
]
use
super
::
prelude
::*;
#[
derive
(
Debug
)]
pub
struct
bs
;
impl
<
'a> ParseCommand<'
a
>
for
bs
{
#[
inline
(
always
)]
fn
from_packet
(
buf
:
PacketBuf
<
'
a
>)
->
Option
<
Self
>
{
if
!
buf
.
into_body
().
is_empty
()
{
return
None
;
}
Some
(
bs
)
}
}