pub struct Str(/* private fields */);Implementations§
Trait Implementations§
Source§impl DecodeFormatted for Str
impl DecodeFormatted for Str
fn decode_with_format(input: &mut Bytes, fmt: u8) -> Result<Str, AmqpParseError>
Source§impl<'a> From<&'a ByteString> for Str
impl<'a> From<&'a ByteString> for Str
Source§fn from(s: &'a ByteString) -> Str
fn from(s: &'a ByteString) -> Str
Converts to this type from the input type.
Source§impl From<ByteString> for Str
impl From<ByteString> for Str
Source§fn from(s: ByteString) -> Str
fn from(s: ByteString) -> Str
Converts to this type from the input type.
Source§impl Ord for Str
impl Ord for Str
Source§impl PartialOrd for Str
impl PartialOrd for Str
impl Eq for Str
impl StructuralPartialEq for Str
Auto Trait Implementations§
impl Freeze for Str
impl RefUnwindSafe for Str
impl Send for Str
impl Sync for Str
impl Unpin for Str
impl UnsafeUnpin for Str
impl UnwindSafe for Str
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