pub enum ResponseData<'a> {
Str(&'static str),
Slice(&'a [u8]),
String(String),
}Expand description
exporting all import response implementations for specifying response data
Variants§
Implementations§
Trait Implementations§
impl<'a> Send for ResponseData<'a>
Auto Trait Implementations§
impl<'a> Freeze for ResponseData<'a>
impl<'a> RefUnwindSafe for ResponseData<'a>
impl<'a> Sync for ResponseData<'a>
impl<'a> Unpin for ResponseData<'a>
impl<'a> UnsafeUnpin for ResponseData<'a>
impl<'a> UnwindSafe for ResponseData<'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