pub struct OwnedBytes(pub Vec<u8>);
Expand description
Used so the error could outlive its input
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
Source§impl Debug for OwnedBytes
impl Debug for OwnedBytes
Source§impl Display for OwnedBytes
impl Display for OwnedBytes
Auto Trait Implementations§
impl Freeze for OwnedBytes
impl RefUnwindSafe for OwnedBytes
impl Send for OwnedBytes
impl Sync for OwnedBytes
impl Unpin for OwnedBytes
impl UnwindSafe for OwnedBytes
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