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§
Source§impl Executable for Try
impl Executable for Try
impl StructuralPartialEq for Try
Auto Trait Implementations§
impl !Send for Try
impl !Sync for Try
impl Freeze for Try
impl RefUnwindSafe for Try
impl Unpin for Try
impl UnsafeUnpin for Try
impl UnwindSafe for Try
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