Added changes for debug
This commit is contained in:
parent
1c951fe392
commit
042098295a
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ impl Message {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn get_payload(&mut self) -> Option<&Box<[u8]>> {
|
||||
pub fn get_payload(&self) -> Option<&Box<[u8]>> {
|
||||
match self {
|
||||
Self::Request { payload, .. }
|
||||
| Self::Response { payload, .. }
|
||||
|
|
Loading…
Reference in a new issue