pub enum ApiSurface {
Serve,
Forge,
Ops,
}Expand description
Server listener surface owning an API route (x-arks-surface).
Variants§
Serve
arks serve HTTP listener (:8080 demo default).
Forge
arks hub forge listener (:3920 demo default).
Ops
arks serve operational probes & metrics on the serve listener.
Implementations§
Trait Implementations§
Source§impl Clone for ApiSurface
impl Clone for ApiSurface
impl Copy for ApiSurface
Source§impl Debug for ApiSurface
impl Debug for ApiSurface
impl Eq for ApiSurface
Source§impl PartialEq for ApiSurface
impl PartialEq for ApiSurface
impl StructuralPartialEq for ApiSurface
Auto Trait Implementations§
impl Forget for ApiSurface
impl Freeze for ApiSurface
impl Move for ApiSurface
impl RefUnwindSafe for ApiSurface
impl Send for ApiSurface
impl Sync for ApiSurface
impl Unpin for ApiSurface
impl UnsafeUnpin for ApiSurface
impl UnwindSafe for ApiSurface
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