pub enum InterceptError {
System(SystemException),
ForwardRequest(ObjectRef),
}Expand description
What an interception point may raise besides returning: a system
exception, or PortableInterceptor::ForwardRequest to send the request
to another object.
Variants§
System(SystemException)
A system exception, which becomes the result of the request.
ForwardRequest(ObjectRef)
ForwardRequest: the request goes to forward instead.
Trait Implementations§
Source§impl Clone for InterceptError
impl Clone for InterceptError
Source§impl Debug for InterceptError
impl Debug for InterceptError
Source§impl From<SystemException> for InterceptError
impl From<SystemException> for InterceptError
Source§fn from(e: SystemException) -> InterceptError
fn from(e: SystemException) -> InterceptError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InterceptError
impl !UnwindSafe for InterceptError
impl Forget for InterceptError
impl Freeze for InterceptError
impl Send for InterceptError
impl Sync for InterceptError
impl Unpin for InterceptError
impl UnsafeUnpin for InterceptError
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