Struct noak::writer::attributes::ExceptionWriter
source · pub struct ExceptionWriter<Ctx, State: State> { /* private fields */ }
Implementations§
source§impl<Ctx: EncoderContext> ExceptionWriter<Ctx, Start>
impl<Ctx: EncoderContext> ExceptionWriter<Ctx, Start>
sourcepub fn exception<I>(&mut self, name: I) -> Result<&mut Self, EncodeError>where
I: Insertable<Class>,
pub fn exception<I>(&mut self, name: I) -> Result<&mut Self, EncodeError>where
I: Insertable<Class>,
Writes the index to an exception able to be thrown by this method.
Trait Implementations§
Auto Trait Implementations§
impl<Ctx, State> Freeze for ExceptionWriter<Ctx, State>where
State: Sealed,
Ctx: Freeze,
impl<Ctx, State> RefUnwindSafe for ExceptionWriter<Ctx, State>where
State: Sealed + RefUnwindSafe,
Ctx: RefUnwindSafe,
impl<Ctx, State> Send for ExceptionWriter<Ctx, State>
impl<Ctx, State> Sync for ExceptionWriter<Ctx, State>
impl<Ctx, State> Unpin for ExceptionWriter<Ctx, State>
impl<Ctx, State> UnwindSafe for ExceptionWriter<Ctx, State>where
State: Sealed + UnwindSafe,
Ctx: UnwindSafe,
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