Enum allenap_libtftp::packet::OpCode
source · [−]pub enum OpCode {
RRQ,
WRQ,
DATA,
ACK,
ERROR,
OACK,
}
Expand description
The operation code that begins every TFTP packet.
Variants
RRQ
Read request.
WRQ
Write request.
DATA
Data.
ACK
Acknowledgment.
ERROR
Error.
OACK
Option Acknowledgment.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OpCode
impl Send for OpCode
impl Sync for OpCode
impl Unpin for OpCode
impl UnwindSafe for OpCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more