Struct cgp_error::DelegateErrorRaiser
source · pub struct DelegateErrorRaiser<Components>(pub PhantomData<Components>);Tuple Fields§
§0: PhantomData<Components>Trait Implementations§
source§impl<Context, Error, Components, Delegate> ErrorRaiser<Context, Error> for DelegateErrorRaiser<Components>where
Context: HasErrorType,
Components: DelegateComponent<Error, Delegate = Delegate>,
Delegate: ErrorRaiser<Context, Error>,
impl<Context, Error, Components, Delegate> ErrorRaiser<Context, Error> for DelegateErrorRaiser<Components>where
Context: HasErrorType,
Components: DelegateComponent<Error, Delegate = Delegate>,
Delegate: ErrorRaiser<Context, Error>,
fn raise_error(e: Error) -> Context::Error
Auto Trait Implementations§
impl<Components> Freeze for DelegateErrorRaiser<Components>
impl<Components> RefUnwindSafe for DelegateErrorRaiser<Components>where
Components: RefUnwindSafe,
impl<Components> Send for DelegateErrorRaiser<Components>where
Components: Send,
impl<Components> Sync for DelegateErrorRaiser<Components>where
Components: Sync,
impl<Components> Unpin for DelegateErrorRaiser<Components>where
Components: Unpin,
impl<Components> UnwindSafe for DelegateErrorRaiser<Components>where
Components: 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