pub struct NotAllowedRenderingFailed;
Expand description
Error type of ServerSecurityConfig::render_not_allowed
.
This represents a failure to express the Request Creation Hints of ACE in a message. Unlike most CoAP rendering errors, this can not just fall back to rendering that produces an Internal Server Error, as that would be misunderstood by the client to mean that the requested operation was being performed and failed at runtime (whereas with this error, the requested operation was not performed). Therefore, no error details can be communicated to the client reliably.
Implementers are encouraged to log an error when returning this.
Auto Trait Implementations§
impl Freeze for NotAllowedRenderingFailed
impl RefUnwindSafe for NotAllowedRenderingFailed
impl Send for NotAllowedRenderingFailed
impl Sync for NotAllowedRenderingFailed
impl Unpin for NotAllowedRenderingFailed
impl UnwindSafe for NotAllowedRenderingFailed
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