pub enum Warning {
RamBelowMinimum {
service_name: String,
min_mb: u64,
available_mb: u64,
},
RamBelowRecommended {
service_name: String,
recommended_mb: u64,
available_mb: u64,
},
PortReassigned {
service_name: String,
port_name: String,
original_port: u16,
assigned_port: u16,
reason: String,
},
UrlWithoutReverseProxy {
service_name: String,
url: String,
host_port: u16,
},
}Expand description
Warnings generated during service operations that the CLI should display.
Variants§
RamBelowMinimum
System RAM is below the service’s minimum requirement.
RamBelowRecommended
System RAM is below the service’s recommended level (but above minimum).
PortReassigned
A port was reassigned because the default was privileged or in use.
UrlWithoutReverseProxy
--url was passed but no ryra-managed reverse proxy (Caddy) is installed.
Ryra still templates the URL into env vars and OIDC config, but routing
is the user’s responsibility (nginx, Cloudflare Tunnel, Tailscale Funnel,
external load balancer, etc.).
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnsafeUnpin for Warning
impl UnwindSafe for Warning
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