Enum rustdds::dds::data_types::TopicKind [−][src]
Type for DDS Topic (Keyed or No key)
Variants
Trait Implementations
impl Clone for TopicKind
[src]
impl Copy for TopicKind
[src]
impl Debug for TopicKind
[src]
impl Eq for TopicKind
[src]
impl PartialEq<TopicKind> for TopicKind
[src]
fn eq(&self, other: &TopicKind) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a_, C_: Context> Readable<'a_, C_> for TopicKind
[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 StructuralEq for TopicKind
[src]
impl StructuralPartialEq for TopicKind
[src]
impl<C_: Context> Writable<C_> for TopicKind
[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 TopicKind
[src]
impl Send for TopicKind
[src]
impl Sync for TopicKind
[src]
impl Unpin for TopicKind
[src]
impl UnwindSafe for TopicKind
[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> 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>,