Enum ros2_client::ros2::policy::Ownership
source · pub enum Ownership {
Shared,
Exclusive {
strength: i32,
},
}
Expand description
DDS 2.2.3.9 OWNERSHIP
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Ownership
impl<'de> Deserialize<'de> for Ownership
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Ownership, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Ownership, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Ownership
impl PartialEq for Ownership
source§impl Serialize for Ownership
impl Serialize for Ownership
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for Ownership
impl Eq for Ownership
impl StructuralEq for Ownership
impl StructuralPartialEq for Ownership
Auto Trait Implementations§
impl RefUnwindSafe for Ownership
impl Send for Ownership
impl Sync for Ownership
impl Unpin for Ownership
impl UnwindSafe for Ownership
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