pub struct AxumAdapter { /* private fields */ }Expand description
Axum-backed HTTP adapter.
Axum is the default adapter, not the Boot kernel. Applications can replace
it by implementing HttpAdapter for another backend.
Implementations§
Source§impl AxumAdapter
impl AxumAdapter
pub fn new() -> Self
pub fn with_body_limit(self, body_limit: usize) -> Self
Trait Implementations§
Source§impl Clone for AxumAdapter
impl Clone for AxumAdapter
Source§fn clone(&self) -> AxumAdapter
fn clone(&self) -> AxumAdapter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AxumAdapter
impl Debug for AxumAdapter
Source§impl Default for AxumAdapter
impl Default for AxumAdapter
Source§impl HttpAdapter for AxumAdapter
impl HttpAdapter for AxumAdapter
Auto Trait Implementations§
impl Freeze for AxumAdapter
impl RefUnwindSafe for AxumAdapter
impl Send for AxumAdapter
impl Sync for AxumAdapter
impl Unpin for AxumAdapter
impl UnsafeUnpin for AxumAdapter
impl UnwindSafe for AxumAdapter
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