Struct zenoh_codec::Zenoh080Bounded

source ·
pub struct Zenoh080Bounded<T> { /* private fields */ }

Implementations§

source§

impl<T> Zenoh080Bounded<T>

source

pub const fn new() -> Self

Trait Implementations§

source§

impl<T: Clone> Clone for Zenoh080Bounded<T>

source§

fn clone(&self) -> Zenoh080Bounded<T>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<T> Default for Zenoh080Bounded<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl LCodec<&ZBuf> for Zenoh080Bounded<u16>

source§

fn w_len(self, message: &ZBuf) -> usize

source§

impl LCodec<&ZBuf> for Zenoh080Bounded<u32>

source§

fn w_len(self, message: &ZBuf) -> usize

source§

impl LCodec<&ZBuf> for Zenoh080Bounded<u64>

source§

fn w_len(self, message: &ZBuf) -> usize

source§

impl LCodec<&ZBuf> for Zenoh080Bounded<u8>

source§

fn w_len(self, message: &ZBuf) -> usize

source§

impl LCodec<&ZBuf> for Zenoh080Bounded<usize>

source§

fn w_len(self, message: &ZBuf) -> usize

source§

impl<R> RCodec<String, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<String, Self::Error>

source§

impl<R> RCodec<String, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<String, Self::Error>

source§

impl<R> RCodec<String, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<String, Self::Error>

source§

impl<R> RCodec<String, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<String, Self::Error>

source§

impl<R> RCodec<String, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<String, Self::Error>

source§

impl<R> RCodec<Vec<u8>, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<Vec<u8>, Self::Error>

source§

impl<R> RCodec<Vec<u8>, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<Vec<u8>, Self::Error>

source§

impl<R> RCodec<Vec<u8>, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<Vec<u8>, Self::Error>

source§

impl<R> RCodec<Vec<u8>, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<Vec<u8>, Self::Error>

source§

impl<R> RCodec<Vec<u8>, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<Vec<u8>, Self::Error>

source§

impl<R> RCodec<ZBuf, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZBuf, Self::Error>

source§

impl<R> RCodec<ZBuf, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZBuf, Self::Error>

source§

impl<R> RCodec<ZBuf, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZBuf, Self::Error>

source§

impl<R> RCodec<ZBuf, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZBuf, Self::Error>

source§

impl<R> RCodec<ZBuf, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZBuf, Self::Error>

source§

impl<R> RCodec<ZSlice, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZSlice, Self::Error>

source§

impl<R> RCodec<ZSlice, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZSlice, Self::Error>

source§

impl<R> RCodec<ZSlice, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZSlice, Self::Error>

source§

impl<R> RCodec<ZSlice, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZSlice, Self::Error>

source§

impl<R> RCodec<ZSlice, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<ZSlice, Self::Error>

source§

impl<R> RCodec<u16, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u16, Self::Error>

source§

impl<R> RCodec<u16, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u16, Self::Error>

source§

impl<R> RCodec<u16, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u16, Self::Error>

source§

impl<R> RCodec<u16, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u16, Self::Error>

source§

impl<R> RCodec<u16, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u16, Self::Error>

source§

impl<R> RCodec<u32, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u32, Self::Error>

source§

impl<R> RCodec<u32, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u32, Self::Error>

source§

impl<R> RCodec<u32, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u32, Self::Error>

source§

impl<R> RCodec<u32, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u32, Self::Error>

source§

impl<R> RCodec<u32, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u32, Self::Error>

source§

impl<R> RCodec<u64, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u64, Self::Error>

source§

impl<R> RCodec<u64, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u64, Self::Error>

source§

impl<R> RCodec<u64, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u64, Self::Error>

source§

impl<R> RCodec<u64, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u64, Self::Error>

source§

impl<R> RCodec<u64, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u64, Self::Error>

source§

impl<R> RCodec<u8, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u8, Self::Error>

source§

impl<R> RCodec<u8, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u8, Self::Error>

source§

impl<R> RCodec<u8, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u8, Self::Error>

source§

impl<R> RCodec<u8, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u8, Self::Error>

source§

impl<R> RCodec<u8, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<u8, Self::Error>

source§

impl<R> RCodec<usize, &mut R> for Zenoh080Bounded<u16>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<usize, Self::Error>

source§

impl<R> RCodec<usize, &mut R> for Zenoh080Bounded<u32>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<usize, Self::Error>

source§

impl<R> RCodec<usize, &mut R> for Zenoh080Bounded<u64>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<usize, Self::Error>

source§

impl<R> RCodec<usize, &mut R> for Zenoh080Bounded<u8>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<usize, Self::Error>

source§

impl<R> RCodec<usize, &mut R> for Zenoh080Bounded<usize>
where R: Reader,

§

type Error = DidntRead

source§

fn read(self, reader: &mut R) -> Result<usize, Self::Error>

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &[u8]) -> Self::Output

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &[u8]) -> Self::Output

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &[u8]) -> Self::Output

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &[u8]) -> Self::Output

source§

impl<W> WCodec<&[u8], &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &[u8]) -> Self::Output

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &String) -> Self::Output

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &String) -> Self::Output

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &String) -> Self::Output

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &String) -> Self::Output

source§

impl<W> WCodec<&String, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &String) -> Self::Output

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZBuf) -> Self::Output

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZBuf) -> Self::Output

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZBuf) -> Self::Output

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZBuf) -> Self::Output

source§

impl<W> WCodec<&ZBuf, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZBuf) -> Self::Output

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZSlice) -> Self::Output

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZSlice) -> Self::Output

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZSlice) -> Self::Output

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZSlice) -> Self::Output

source§

impl<W> WCodec<&ZSlice, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &ZSlice) -> Self::Output

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &str) -> Self::Output

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &str) -> Self::Output

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &str) -> Self::Output

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &str) -> Self::Output

source§

impl<W> WCodec<&str, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: &str) -> Self::Output

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u16) -> Self::Output

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u16) -> Self::Output

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u16) -> Self::Output

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u16) -> Self::Output

source§

impl<W> WCodec<u16, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u16) -> Self::Output

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u32) -> Self::Output

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u32) -> Self::Output

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u32) -> Self::Output

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u32) -> Self::Output

source§

impl<W> WCodec<u32, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u32) -> Self::Output

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u64) -> Self::Output

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u64) -> Self::Output

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u64) -> Self::Output

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u64) -> Self::Output

source§

impl<W> WCodec<u64, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u64) -> Self::Output

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u8) -> Self::Output

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u8) -> Self::Output

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u8) -> Self::Output

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u8) -> Self::Output

source§

impl<W> WCodec<u8, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: u8) -> Self::Output

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<u16>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: usize) -> Self::Output

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<u32>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: usize) -> Self::Output

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<u64>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: usize) -> Self::Output

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<u8>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: usize) -> Self::Output

source§

impl<W> WCodec<usize, &mut W> for Zenoh080Bounded<usize>
where W: Writer,

§

type Output = Result<(), DidntWrite>

source§

fn write(self, writer: &mut W, x: usize) -> Self::Output

source§

impl<T: Copy> Copy for Zenoh080Bounded<T>

Auto Trait Implementations§

§

impl<T> Freeze for Zenoh080Bounded<T>

§

impl<T> RefUnwindSafe for Zenoh080Bounded<T>
where T: RefUnwindSafe,

§

impl<T> Send for Zenoh080Bounded<T>
where T: Send,

§

impl<T> Sync for Zenoh080Bounded<T>
where T: Sync,

§

impl<T> Unpin for Zenoh080Bounded<T>
where T: Unpin,

§

impl<T> UnwindSafe for Zenoh080Bounded<T>
where T: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> AsNode<T> for T

source§

fn as_node(&self) -> &T

source§

impl<T> AsNodeMut<T> for T

source§

fn as_node_mut(&mut self) -> &mut T

source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more