pub enum FileKind {
Binary,
Text,
Other,
}Expand description
What a file holds, as a put sends it.
Variants§
Binary
A binary transfer file (HPHP48-x or HPHP49-x header): sent as
is, in binary mode.
Text
The calculator’s text form (%%HP: header): sent in text mode, the
calculator compiles it.
Other
Anything else: the calculator stores it as a string.
Implementations§
Trait Implementations§
impl Copy for FileKind
impl Eq for FileKind
impl StructuralPartialEq for FileKind
Auto Trait Implementations§
impl Forget for FileKind
impl Freeze for FileKind
impl Move for FileKind
impl RefUnwindSafe for FileKind
impl Send for FileKind
impl Sync for FileKind
impl Unpin for FileKind
impl UnsafeUnpin for FileKind
impl UnwindSafe for FileKind
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