pub enum ThrowsType<'a> {
ClassType(ClassType<'a>),
TypeVariable(&'a str),
}
Expand description
Represents (exception) types in method “throws” declaration position.
Variants§
Auto Trait Implementations§
impl<'a> Freeze for ThrowsType<'a>
impl<'a> RefUnwindSafe for ThrowsType<'a>
impl<'a> Send for ThrowsType<'a>
impl<'a> Sync for ThrowsType<'a>
impl<'a> Unpin for ThrowsType<'a>
impl<'a> UnwindSafe for ThrowsType<'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