pub enum ParsedByteStr<'a> {
Allocated(Vec<u8>),
Slice(&'a [u8]),
}Variants§
Implementations§
Source§impl<'a> ParsedByteStr<'a>
impl<'a> ParsedByteStr<'a>
pub fn try_from_base64(str: &ParsedStr<'a>) -> Result<Self, DecodeError>
Auto Trait Implementations§
impl<'a> Freeze for ParsedByteStr<'a>
impl<'a> RefUnwindSafe for ParsedByteStr<'a>
impl<'a> Send for ParsedByteStr<'a>
impl<'a> Sync for ParsedByteStr<'a>
impl<'a> Unpin for ParsedByteStr<'a>
impl<'a> UnwindSafe for ParsedByteStr<'a>
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