pub enum EscapeErrorKind {
ReturnEscape {
variable: String,
zone_name: String,
},
AssignmentEscape {
variable: String,
target: String,
zone_name: String,
},
}Variants§
ReturnEscape
Variable cannot escape zone via return
AssignmentEscape
Variable cannot escape zone via assignment to outer variable
Trait Implementations§
Source§impl Clone for EscapeErrorKind
impl Clone for EscapeErrorKind
Source§fn clone(&self) -> EscapeErrorKind
fn clone(&self) -> EscapeErrorKind
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 moreAuto Trait Implementations§
impl Freeze for EscapeErrorKind
impl RefUnwindSafe for EscapeErrorKind
impl Send for EscapeErrorKind
impl Sync for EscapeErrorKind
impl Unpin for EscapeErrorKind
impl UnwindSafe for EscapeErrorKind
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