소스 검색

forgot to remove a comment block oopsie uhoh

master
Isabelle L. 5 년 전
부모
커밋
09513e87b9
1개의 변경된 파일0개의 추가작업 그리고 19개의 파일을 삭제
  1. +0
    -19
      src/lib.rs

+ 0
- 19
src/lib.rs 파일 보기

@@ -135,25 +135,6 @@ impl Packet {
}
}

/*/// kinds of packets that can be sent
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[repr(u8)]
pub enum PacketKind {
Message = 0x00,
Agreement = 0xff,
}

impl PacketKind {
/// returns `Option<PacketKind> given valid matching variant
pub fn from_u8(kind: u8) -> Option<PacketKind> {
match kind {
0x00 => Some(PacketKind::Message),
0xff => Some(PacketKind::Agreement),
_ => None,
}
}
}
*/
/// ilmp's error type
#[derive(Error, Debug)]
pub enum IlmpError {


불러오는 중...
취소
저장