#[repr(u8)]pub enum ExtensionType {
Binary = 0,
Vm = 97,
EncryptedBinary = 115,
}
Variants§
Binary = 0
Regular unencrypted file.
Vm = 97
A file which depends on a VM.
This is the file type used for VEXCode Python bin uploads, since they need the Python VM to function.
EncryptedBinary = 115
File’s contents is encrypted.
Trait Implementations§
Source§impl Clone for ExtensionType
impl Clone for ExtensionType
Source§fn clone(&self) -> ExtensionType
fn clone(&self) -> ExtensionType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExtensionType
impl Debug for ExtensionType
Source§impl Decode for ExtensionType
impl Decode for ExtensionType
Source§impl Default for ExtensionType
impl Default for ExtensionType
Source§fn default() -> ExtensionType
fn default() -> ExtensionType
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExtensionType
impl PartialEq for ExtensionType
impl Copy for ExtensionType
impl Eq for ExtensionType
impl StructuralPartialEq for ExtensionType
Auto Trait Implementations§
impl Freeze for ExtensionType
impl RefUnwindSafe for ExtensionType
impl Send for ExtensionType
impl Sync for ExtensionType
impl Unpin for ExtensionType
impl UnwindSafe for ExtensionType
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