pub struct ProjectionSpec { /* private fields */ }Expand description
Explicit boundary projections owned by an error descriptor.
Every catalog declaration supplies all four projections. The catalog does not infer protocol behavior from a canonical condition, and callers cannot construct or override projection metadata outside this crate.
ⓘ
use rocketmq_error::ProjectionSpec;
let projection = ProjectionSpec {
remoting: todo!(),
grpc: todo!(),
http: todo!(),
cli: todo!(),
};Implementations§
Source§impl ProjectionSpec
impl ProjectionSpec
Sourcepub const fn remoting(&self) -> RemotingSpec
pub const fn remoting(&self) -> RemotingSpec
Returns the RocketMQ remoting response projection.
Trait Implementations§
Source§impl Clone for ProjectionSpec
impl Clone for ProjectionSpec
impl Copy for ProjectionSpec
Source§impl Debug for ProjectionSpec
impl Debug for ProjectionSpec
impl Eq for ProjectionSpec
Source§impl PartialEq for ProjectionSpec
impl PartialEq for ProjectionSpec
impl StructuralPartialEq for ProjectionSpec
Auto Trait Implementations§
impl Freeze for ProjectionSpec
impl RefUnwindSafe for ProjectionSpec
impl Send for ProjectionSpec
impl Sync for ProjectionSpec
impl Unpin for ProjectionSpec
impl UnsafeUnpin for ProjectionSpec
impl UnwindSafe for ProjectionSpec
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