pub enum Opcode {
Show 16 variants
Command,
SendFile,
Data,
Boot,
Query,
ShellCmd,
Open,
Read,
Write,
Close,
LastData,
Reboot,
GetAdvert,
Ack,
FileReceived,
Advertise,
}
Expand description
Operations accepted by netboot servers.
payload
and arg
semantics vary depending on the opcode.
Variants§
Command
SendFile
Data
Boot
Query
ShellCmd
Open
Read
Write
Close
LastData
Reboot
GetAdvert
Ack
FileReceived
Advertise
Trait Implementations§
Source§impl From<Opcode> for OpcodeOrErr
impl From<Opcode> for OpcodeOrErr
impl Copy for Opcode
impl Eq for Opcode
impl StructuralPartialEq for Opcode
Auto Trait Implementations§
impl Freeze for Opcode
impl RefUnwindSafe for Opcode
impl Send for Opcode
impl Sync for Opcode
impl Unpin for Opcode
impl UnwindSafe for Opcode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)