pub enum ServiceLayout {
Basic,
Enhanced,
}Expand description
Layout variant of the service wire model (Spec §7.5.1).
Variants§
Basic
Spec §7.5.1.1 — one request/reply topic pair per service.
Enhanced
Spec §7.5.1.2 — one topic pair per method.
Trait Implementations§
Source§impl Clone for ServiceLayout
impl Clone for ServiceLayout
Source§fn clone(&self) -> ServiceLayout
fn clone(&self) -> ServiceLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServiceLayout
Source§impl Debug for ServiceLayout
impl Debug for ServiceLayout
impl Eq for ServiceLayout
Source§impl Hash for ServiceLayout
impl Hash for ServiceLayout
Source§impl PartialEq for ServiceLayout
impl PartialEq for ServiceLayout
Source§fn eq(&self, other: &ServiceLayout) -> bool
fn eq(&self, other: &ServiceLayout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServiceLayout
Auto Trait Implementations§
impl Freeze for ServiceLayout
impl RefUnwindSafe for ServiceLayout
impl Send for ServiceLayout
impl Sync for ServiceLayout
impl Unpin for ServiceLayout
impl UnsafeUnpin for ServiceLayout
impl UnwindSafe for ServiceLayout
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