pub enum SetScriptSourceResultStatus {
Ok,
CompileError,
BlockedByActiveGenerator,
BlockedByActiveFunction,
BlockedByTopLevelEsModuleChange,
}Expand description
Whether the operation was successful or not. Only Ok denotes a
successful live edit while the other enum variants denote why
the live edit failed.
Variants§
Trait Implementations§
Source§impl Clone for SetScriptSourceResultStatus
impl Clone for SetScriptSourceResultStatus
Source§fn clone(&self) -> SetScriptSourceResultStatus
fn clone(&self) -> SetScriptSourceResultStatus
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 SetScriptSourceResultStatus
impl Debug for SetScriptSourceResultStatus
Source§impl<'de> Deserialize<'de> for SetScriptSourceResultStatus
impl<'de> Deserialize<'de> for SetScriptSourceResultStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for SetScriptSourceResultStatus
impl Hash for SetScriptSourceResultStatus
impl Eq for SetScriptSourceResultStatus
impl StructuralPartialEq for SetScriptSourceResultStatus
Auto Trait Implementations§
impl Freeze for SetScriptSourceResultStatus
impl RefUnwindSafe for SetScriptSourceResultStatus
impl Send for SetScriptSourceResultStatus
impl Sync for SetScriptSourceResultStatus
impl Unpin for SetScriptSourceResultStatus
impl UnsafeUnpin for SetScriptSourceResultStatus
impl UnwindSafe for SetScriptSourceResultStatus
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