pub struct RawByteStr(/* private fields */);
Implementations§
Source§impl RawByteStr
impl RawByteStr
Sourcepub fn from_slice(value: &[u8]) -> Self
pub fn from_slice(value: &[u8]) -> Self
Create a new RawByteStr
instance from the passed byte slice.
Trait Implementations§
Source§impl Debug for RawByteStr
impl Debug for RawByteStr
Source§impl Display for RawByteStr
impl Display for RawByteStr
Source§impl From<&'static [u8]> for RawByteStr
impl From<&'static [u8]> for RawByteStr
Source§impl From<&'static str> for RawByteStr
impl From<&'static str> for RawByteStr
Auto Trait Implementations§
impl Freeze for RawByteStr
impl RefUnwindSafe for RawByteStr
impl Send for RawByteStr
impl Sync for RawByteStr
impl Unpin for RawByteStr
impl UnwindSafe for RawByteStr
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