pub struct Try<'a> {
pub body: Suite<'a>,
pub handlers: Vec<ExceptHandler<'a>>,
pub orelse: Option<Else<'a>>,
pub finalbody: Option<Finally<'a>>,
pub leading_lines: Vec<EmptyLine<'a>>,
pub whitespace_before_colon: SimpleWhitespace<'a>,
}
Fields§
§body: Suite<'a>
§handlers: Vec<ExceptHandler<'a>>
§orelse: Option<Else<'a>>
§finalbody: Option<Finally<'a>>
§leading_lines: Vec<EmptyLine<'a>>
§whitespace_before_colon: SimpleWhitespace<'a>
Trait Implementations§
impl<'a> Eq for Try<'a>
impl<'a> StructuralPartialEq for Try<'a>
Auto Trait Implementations§
impl<'a> Freeze for Try<'a>
impl<'a> RefUnwindSafe for Try<'a>
impl<'a> Send for Try<'a>
impl<'a> Sync for Try<'a>
impl<'a> Unpin for Try<'a>
impl<'a> UnwindSafe for Try<'a>
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