pub struct Try { /* private fields */ }
Expand description
The try...catch
statement marks a block of statements to try and specifies a response
should an exception be thrown.
The try
statement consists of a try
-block, which contains one or more statements. {}
must always be used, even for single statements. At least one catch
-block, or a
finally
-block, must be present.
More information:
Implementations
Trait Implementations
sourceimpl Executable for Try
impl Executable for Try
sourceimpl Trace for Try
impl Trace for Try
sourcefn finalize_glue(&self)
fn finalize_glue(&self)
Runs Finalize::finalize() on this object and all
contained subobjects Read more
impl StructuralPartialEq for Try
Auto Trait Implementations
impl RefUnwindSafe for Try
impl !Send for Try
impl !Sync for Try
impl Unpin for Try
impl UnwindSafe for Try
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more