pub enum ResponseContent {
Str(String),
Bytes(Vec<u8>),
FromRequest(Box<dyn Fn(Request) -> Response + Sync + Send>),
FolderAccess,
}Variants§
Str(String)
Bytes(Vec<u8>)
FromRequest(Box<dyn Fn(Request) -> Response + Sync + Send>)
FolderAccess
Auto Trait Implementations§
impl !RefUnwindSafe for ResponseContent
impl !UnwindSafe for ResponseContent
impl Freeze for ResponseContent
impl Send for ResponseContent
impl Sync for ResponseContent
impl Unpin for ResponseContent
impl UnsafeUnpin for ResponseContent
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