pub struct DeclaredEndpoint {
pub type_name: &'static str,
pub topic: &'static str,
pub depth: Option<u32>,
pub reliability: Option<QoSReliabilityPolicy>,
pub durability: Option<QoSDurabilityPolicy>,
}Expand description
One subscription this image’s contract declares something about.
Each column is None where nobody stated it – a row exists when ANY of the
three is stated, so any one of them may be silent. type_name appears once
in the ROS spelling and once DDS-mangled, as two rows, because which one a
generated message class carries is a property of the codegen that produced
it.
Fields§
§type_name: &'static str§topic: &'static str§depth: Option<u32>The declared KEEP_LAST depth.
reliability: Option<QoSReliabilityPolicy>Reliable / BestEffort – never SystemDefault, which says “the
middleware chooses” and so cannot be disagreed with.
durability: Option<QoSDurabilityPolicy>Volatile / TransientLocal, on the same rule.
Trait Implementations§
Source§impl Clone for DeclaredEndpoint
impl Clone for DeclaredEndpoint
Source§fn clone(&self) -> DeclaredEndpoint
fn clone(&self) -> DeclaredEndpoint
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 DeclaredEndpoint
Source§impl Debug for DeclaredEndpoint
impl Debug for DeclaredEndpoint
impl Eq for DeclaredEndpoint
Source§impl PartialEq for DeclaredEndpoint
impl PartialEq for DeclaredEndpoint
impl StructuralPartialEq for DeclaredEndpoint
Auto Trait Implementations§
impl Freeze for DeclaredEndpoint
impl RefUnwindSafe for DeclaredEndpoint
impl Send for DeclaredEndpoint
impl Sync for DeclaredEndpoint
impl Unpin for DeclaredEndpoint
impl UnsafeUnpin for DeclaredEndpoint
impl UnwindSafe for DeclaredEndpoint
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