pub struct ProtocolText<'a>(/* private fields */);Expand description
Displays a known protocol atom; arbitrary server text is never a log payload.
Implementations§
Trait Implementations§
Source§impl Debug for ProtocolText<'_>
impl Debug for ProtocolText<'_>
Auto Trait Implementations§
impl<'a> Forget for ProtocolText<'a>
impl<'a> Freeze for ProtocolText<'a>
impl<'a> Move for ProtocolText<'a>
impl<'a> RefUnwindSafe for ProtocolText<'a>
impl<'a> Send for ProtocolText<'a>
impl<'a> Sync for ProtocolText<'a>
impl<'a> Unpin for ProtocolText<'a>
impl<'a> UnsafeUnpin for ProtocolText<'a>where
&'a str: UnsafeUnpin,
impl<'a> UnwindSafe for ProtocolText<'a>where
&'a str: 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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
Source§fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
fn try_to_compact_string(&self) -> Result<CompactString, ToCompactStringError>
Fallible version of
ToCompactString::to_compact_string() Read moreSource§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more