pub enum ServerRole {
ModelServer,
McpServer,
DevServer,
Tunnel,
Container,
Other,
}Expand description
What kind of server holds a listener (from the group kind, the model-server adapters and argv).
Variants§
ModelServer
McpServer
DevServer
Tunnel
Container
Container port publisher (docker-proxy, Docker Desktop, vpnkit, gvproxy).
Other
Implementations§
Trait Implementations§
Source§impl Clone for ServerRole
impl Clone for ServerRole
impl Copy for ServerRole
Source§impl Debug for ServerRole
impl Debug for ServerRole
Source§impl Default for ServerRole
impl Default for ServerRole
Source§impl<'de> Deserialize<'de> for ServerRole
impl<'de> Deserialize<'de> for ServerRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ServerRole
Source§impl Hash for ServerRole
impl Hash for ServerRole
Source§impl Ord for ServerRole
impl Ord for ServerRole
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ServerRole
impl PartialEq for ServerRole
Source§impl PartialOrd for ServerRole
impl PartialOrd for ServerRole
Source§impl Serialize for ServerRole
impl Serialize for ServerRole
impl StructuralPartialEq for ServerRole
Auto Trait Implementations§
impl Forget for ServerRole
impl Freeze for ServerRole
impl Move for ServerRole
impl RefUnwindSafe for ServerRole
impl Send for ServerRole
impl Sync for ServerRole
impl Unpin for ServerRole
impl UnsafeUnpin for ServerRole
impl UnwindSafe for ServerRole
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