#[repr(u8)]pub enum Frame {
Show 20 variants
ZRQINIT = 0,
ZRINIT = 1,
ZSINIT = 2,
ZACK = 3,
ZFILE = 4,
ZSKIP = 5,
ZNAK = 6,
ZABORT = 7,
ZFIN = 8,
ZRPOS = 9,
ZDATA = 10,
ZEOF = 11,
ZFERR = 12,
ZCRC = 13,
ZCHALLENGE = 14,
ZCOMPL = 15,
ZCAN = 16,
ZFREECNT = 17,
ZCOMMAND = 18,
ZSTDERR = 19,
}Expand description
Frame types
Variants§
ZRQINIT = 0
Request receive init
ZRINIT = 1
Receiver capabilities and packet size
ZSINIT = 2
Send init sequence (optional)
ZACK = 3
ACK to above
ZFILE = 4
File name from sender
ZSKIP = 5
To sender: skip this file
ZNAK = 6
Last packet was garbled
ZABORT = 7
Abort batch transfers
ZFIN = 8
Finish session
ZRPOS = 9
Resume data trans at this position
ZDATA = 10
Data packet(s) follow
ZEOF = 11
End of file
ZFERR = 12
Fatal Read or Write error Detected
ZCRC = 13
Request for file CRC and response
ZCHALLENGE = 14
Receiver’s Challenge
ZCOMPL = 15
Request is complete
ZCAN = 16
Other end canned session with CAN*5
ZFREECNT = 17
Request for free bytes on filesystem
ZCOMMAND = 18
Command from sending program
ZSTDERR = 19
Output to standard error, data follows
Trait Implementations§
impl Copy for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnwindSafe for Frame
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