pub enum PythonTryStarPlaceholder {
Body,
Handlers,
OrElse,
FinalBody,
}Variants§
Body
The body of the try star statement
Handlers
The exception handlers (behind ‘except*’)
OrElse
The statements to execute when the try finishes normally, rather than via an exception
FinalBody
The statements to execute af the try body (and optional else) (whether or not an exception happened in the try body)
Trait Implementations§
Source§impl Clone for PythonTryStarPlaceholder
impl Clone for PythonTryStarPlaceholder
Source§impl Debug for PythonTryStarPlaceholder
impl Debug for PythonTryStarPlaceholder
Source§impl<'de> Deserialize<'de> for PythonTryStarPlaceholder
impl<'de> Deserialize<'de> for PythonTryStarPlaceholder
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 Display for PythonTryStarPlaceholder
impl Display for PythonTryStarPlaceholder
impl Eq for PythonTryStarPlaceholder
Source§impl<'_derivative_strum> From<&'_derivative_strum PythonTryStarPlaceholder> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum PythonTryStarPlaceholder> for &'static str
Source§fn from(x: &'_derivative_strum PythonTryStarPlaceholder) -> &'static str
fn from(x: &'_derivative_strum PythonTryStarPlaceholder) -> &'static str
Converts to this type from the input type.
Source§impl From<PythonTryStarPlaceholder> for &'static str
impl From<PythonTryStarPlaceholder> for &'static str
Source§fn from(x: PythonTryStarPlaceholder) -> &'static str
fn from(x: PythonTryStarPlaceholder) -> &'static str
Converts to this type from the input type.
Source§impl Hash for PythonTryStarPlaceholder
impl Hash for PythonTryStarPlaceholder
Source§impl PartialEq for PythonTryStarPlaceholder
impl PartialEq for PythonTryStarPlaceholder
impl StructuralPartialEq for PythonTryStarPlaceholder
Auto Trait Implementations§
impl Freeze for PythonTryStarPlaceholder
impl RefUnwindSafe for PythonTryStarPlaceholder
impl Send for PythonTryStarPlaceholder
impl Sync for PythonTryStarPlaceholder
impl Unpin for PythonTryStarPlaceholder
impl UnsafeUnpin for PythonTryStarPlaceholder
impl UnwindSafe for PythonTryStarPlaceholder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> FromFormData for Twhere
T: DeserializeOwned,
impl<T> FromFormData for Twhere
T: DeserializeOwned,
Source§fn from_event(ev: &Event) -> Result<T, FromFormDataError>
fn from_event(ev: &Event) -> Result<T, FromFormDataError>
Tries to deserialize the data, given only the
submit event.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
impl<T, U> OverflowingInto<U> for Twhere
U: OverflowingFrom<T>,
fn overflowing_into(self) -> (U, bool)
Source§impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
impl<T, U> RoundingInto<U> for Twhere
U: RoundingFrom<T>,
fn rounding_into(self, rm: RoundingMode) -> (U, Ordering)
Source§impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
impl<T, U> SaturatingInto<U> for Twhere
U: SaturatingFrom<T>,
fn saturating_into(self) -> U
Source§impl<T> SerializableKey for T
impl<T> SerializableKey for T
Source§impl<T> StorageAccess<T> for T
impl<T> StorageAccess<T> for T
Source§fn as_borrowed(&self) -> &T
fn as_borrowed(&self) -> &T
Borrows the value.
Source§fn into_taken(self) -> T
fn into_taken(self) -> T
Takes the value.