#[non_exhaustive]pub enum Reply {
Show 19 variants
Done,
Transcript(Transcript),
Stack(StackReply),
Listing(Listing),
Path(Vec<String>),
Real(f64),
Version(Option<String>),
Model(Model),
Iopar(Iopar),
TransferMode(TransferMode),
Data(Vec<u8>),
Stored(String),
Pict(Grob),
XmodemPlan(XmodemPlan),
XmodemSent(XmodemReport),
XmodemReceived(XmodemReceived),
XservProbe(Option<f64>),
XservListing(Vec<DirRecord>),
XservQuit(bool),
}Expand description
The result of an Op.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Done
The operation has no value.
Transcript(Transcript)
What a raw transaction produced.
Stack(StackReply)
The stack after a host command.
Listing(Listing)
A directory listing.
Path(Vec<String>)
The current directory, e.g. ["HOME", "D1"].
Real(f64)
A number (free memory).
Version(Option<String>)
The ROM version text; None on the 48SX.
Model(Model)
The model.
Iopar(Iopar)
The serial settings.
TransferMode(TransferMode)
The transfer mode.
Data(Vec<u8>)
File contents (GET, backup).
Stored(String)
The name the calculator stored a sent file under.
Pict(Grob)
The PICT graphic.
XmodemPlan(XmodemPlan)
What the user must type for an XModem transfer.
XmodemSent(XmodemReport)
An XModem send finished.
XmodemReceived(XmodemReceived)
An XModem receive finished.
XservProbe(Option<f64>)
XSERV’s answer to the probe: the free memory, None for no XSERV.
XservListing(Vec<DirRecord>)
An XSERV directory listing.
XservQuit(bool)
Whether XSERV ended at Q (false: it still answers).
Trait Implementations§
impl StructuralPartialEq for Reply
Auto Trait Implementations§
impl Forget for Reply
impl Freeze for Reply
impl Move for Reply
impl RefUnwindSafe for Reply
impl Send for Reply
impl Sync for Reply
impl Unpin for Reply
impl UnsafeUnpin for Reply
impl UnwindSafe for Reply
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