Struct rustdds::dds::data_types::GuidPrefix [−][src]
DDS/RTPS Participant GuidPrefix
Fields
entityKey: [u8; 12]
Implementations
impl GuidPrefix
[src]
pub const GUIDPREFIX_UNKNOWN: GuidPrefix
[src]
pub fn new(prefix: &[u8]) -> GuidPrefix
[src]
pub fn range(&self) -> impl RangeBounds<GUID>
[src]
Trait Implementations
impl Clone for GuidPrefix
[src]
fn clone(&self) -> GuidPrefix
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GuidPrefix
[src]
impl Debug for GuidPrefix
[src]
impl Default for GuidPrefix
[src]
fn default() -> GuidPrefix
[src]
impl<'de> Deserialize<'de> for GuidPrefix
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for GuidPrefix
[src]
impl Hash for GuidPrefix
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for GuidPrefix
[src]
fn cmp(&self, other: &GuidPrefix) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<GuidPrefix> for GuidPrefix
[src]
fn eq(&self, other: &GuidPrefix) -> bool
[src]
fn ne(&self, other: &GuidPrefix) -> bool
[src]
impl PartialOrd<GuidPrefix> for GuidPrefix
[src]
fn partial_cmp(&self, other: &GuidPrefix) -> Option<Ordering>
[src]
fn lt(&self, other: &GuidPrefix) -> bool
[src]
fn le(&self, other: &GuidPrefix) -> bool
[src]
fn gt(&self, other: &GuidPrefix) -> bool
[src]
fn ge(&self, other: &GuidPrefix) -> bool
[src]
impl<'a, C: Context> Readable<'a, C> for GuidPrefix
[src]
fn read_from<R: Reader<'a, C>>(reader: &mut R) -> Result<Self, C::Error>
[src]
fn minimum_bytes_needed() -> usize
[src]
pub fn read_from_buffer(buffer: &'a [u8]) -> Result<Self, <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
[src]
Self: DefaultContext<Context = C>,
C: Default,
pub fn read_from_buffer_owned(
buffer: &[u8]
) -> Result<Self, <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
[src]
buffer: &[u8]
) -> Result<Self, <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
pub fn read_from_stream(
stream: impl Read
) -> Result<Self, <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
[src]
stream: impl Read
) -> Result<Self, <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
pub fn read_from_file(
path: impl AsRef<Path>
) -> Result<Self, <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
[src]
path: impl AsRef<Path>
) -> Result<Self, <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
pub fn read_from_buffer_with_ctx(
context: C,
buffer: &'a [u8]
) -> Result<Self, <C as Context>::Error>
[src]
context: C,
buffer: &'a [u8]
) -> Result<Self, <C as Context>::Error>
pub fn read_from_buffer_owned_with_ctx(
context: C,
buffer: &[u8]
) -> Result<Self, <C as Context>::Error>
[src]
context: C,
buffer: &[u8]
) -> Result<Self, <C as Context>::Error>
pub fn read_from_stream_with_ctx<S>(
context: C,
stream: S
) -> Result<Self, <C as Context>::Error> where
S: Read,
[src]
context: C,
stream: S
) -> Result<Self, <C as Context>::Error> where
S: Read,
pub fn read_from_file_with_ctx(
context: C,
path: impl AsRef<Path>
) -> Result<Self, <C as Context>::Error>
[src]
context: C,
path: impl AsRef<Path>
) -> Result<Self, <C as Context>::Error>
impl Serialize for GuidPrefix
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for GuidPrefix
[src]
impl StructuralPartialEq for GuidPrefix
[src]
impl<C: Context> Writable<C> for GuidPrefix
[src]
fn write_to<T: ?Sized + Writer<C>>(
&self,
writer: &mut T
) -> Result<(), C::Error>
[src]
&self,
writer: &mut T
) -> Result<(), C::Error>
pub fn write_to_buffer(
&self,
buffer: &mut [u8]
) -> Result<(), <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
[src]
&self,
buffer: &mut [u8]
) -> Result<(), <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
pub fn write_to_vec(&self) -> Result<Vec<u8, Global>, <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
[src]
Self: DefaultContext<Context = C>,
C: Default,
pub fn write_to_stream<S>(&self, stream: S) -> Result<(), <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
S: Write,
[src]
Self: DefaultContext<Context = C>,
C: Default,
S: Write,
pub fn write_to_file(
&self,
path: impl AsRef<Path>
) -> Result<(), <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
[src]
&self,
path: impl AsRef<Path>
) -> Result<(), <C as Context>::Error> where
Self: DefaultContext<Context = C>,
C: Default,
pub fn write_to_buffer_with_ctx(
&self,
context: C,
buffer: &mut [u8]
) -> Result<(), <C as Context>::Error>
[src]
&self,
context: C,
buffer: &mut [u8]
) -> Result<(), <C as Context>::Error>
pub fn write_to_vec_with_ctx(
&self,
context: C
) -> Result<Vec<u8, Global>, <C as Context>::Error>
[src]
&self,
context: C
) -> Result<Vec<u8, Global>, <C as Context>::Error>
pub fn write_to_stream_with_ctx<S>(
&self,
context: C,
stream: S
) -> Result<(), <C as Context>::Error> where
S: Write,
[src]
&self,
context: C,
stream: S
) -> Result<(), <C as Context>::Error> where
S: Write,
pub fn write_to_file_with_ctx(
&self,
context: C,
path: impl AsRef<Path>
) -> Result<(), <C as Context>::Error>
[src]
&self,
context: C,
path: impl AsRef<Path>
) -> Result<(), <C as Context>::Error>
pub fn bytes_needed(&self) -> Result<usize, <C as Context>::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for GuidPrefix
[src]
impl Send for GuidPrefix
[src]
impl Sync for GuidPrefix
[src]
impl Unpin for GuidPrefix
[src]
impl UnwindSafe for GuidPrefix
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,