pub struct CommandCompleteBuilder<TAG = ZTString<'static>>where
TAG: EncoderFor<ZTString<'static>>,{
pub tag: TAG,
}Fields§
§tag: TAGThe command tag.
Trait Implementations§
Source§impl<TAG> BuilderFor for CommandCompleteBuilder<TAG>where
TAG: EncoderFor<ZTString<'static>>,
impl<TAG> BuilderFor for CommandCompleteBuilder<TAG>where
TAG: EncoderFor<ZTString<'static>>,
type Message = CommandComplete<'static>
Source§impl<TAG> Debug for CommandCompleteBuilder<TAG>
impl<TAG> Debug for CommandCompleteBuilder<TAG>
Source§impl<TAG> Default for CommandCompleteBuilder<TAG>
impl<TAG> Default for CommandCompleteBuilder<TAG>
Source§fn default() -> CommandCompleteBuilder<TAG>
fn default() -> CommandCompleteBuilder<TAG>
Returns the “default value” for a type. Read more
Source§impl<TAG> EncoderFor<CommandComplete<'static>> for &CommandCompleteBuilder<TAG>where
TAG: EncoderFor<ZTString<'static>>,
impl<TAG> EncoderFor<CommandComplete<'static>> for &CommandCompleteBuilder<TAG>where
TAG: EncoderFor<ZTString<'static>>,
fn encode_for(&self, buf: &mut BufWriter<'_>)
Source§impl<TAG> EncoderFor<CommandComplete<'static>> for CommandCompleteBuilder<TAG>where
TAG: EncoderFor<ZTString<'static>>,
impl<TAG> EncoderFor<CommandComplete<'static>> for CommandCompleteBuilder<TAG>where
TAG: EncoderFor<ZTString<'static>>,
fn encode_for(&self, buf: &mut BufWriter<'_>)
Auto Trait Implementations§
impl<TAG> Freeze for CommandCompleteBuilder<TAG>where
TAG: Freeze,
impl<TAG> RefUnwindSafe for CommandCompleteBuilder<TAG>where
TAG: RefUnwindSafe,
impl<TAG> Send for CommandCompleteBuilder<TAG>where
TAG: Send,
impl<TAG> Sync for CommandCompleteBuilder<TAG>where
TAG: Sync,
impl<TAG> Unpin for CommandCompleteBuilder<TAG>where
TAG: Unpin,
impl<TAG> UnwindSafe for CommandCompleteBuilder<TAG>where
TAG: UnwindSafe,
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
Source§impl<T> EncoderForExt for Twhere
T: ?Sized,
impl<T> EncoderForExt for Twhere
T: ?Sized,
Source§fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
fn to_vec<F>(&self) -> Vec<u8> ⓘwhere
F: 'static,
Self: EncoderFor<F>,
Convert this builder into a vector of bytes. This is generally
not the most efficient way to perform serialization.
Source§fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer<F>(&self, buf: &mut [u8]) -> Result<usize, usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.
Source§fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
fn encode_buffer_uninit<'a, F>(
&self,
buf: &'a mut [MaybeUninit<u8>],
) -> Result<&'a mut [u8], usize>where
F: 'static,
Self: EncoderFor<F>,
Encode this builder into a given buffer. If the buffer is
too small, the function will return the number of bytes
required to encode the builder.