pub struct GatewayProjection {
pub upstream_count: usize,
pub connected_count: usize,
pub discovered_tool_count: usize,
pub exposed_tool_count: usize,
pub likely_stale_count: usize,
}Fields§
§upstream_count: usize§connected_count: usize§discovered_tool_count: usize§exposed_tool_count: usize§likely_stale_count: usizeImplementations§
Source§impl GatewayProjection
impl GatewayProjection
pub async fn from_manager( manager: &GatewayManager, ) -> Result<Self, GatewayManagerError>
Trait Implementations§
Source§impl Clone for GatewayProjection
impl Clone for GatewayProjection
Source§fn clone(&self) -> GatewayProjection
fn clone(&self) -> GatewayProjection
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 GatewayProjection
impl Debug for GatewayProjection
Source§impl PartialEq for GatewayProjection
impl PartialEq for GatewayProjection
Source§fn eq(&self, other: &GatewayProjection) -> bool
fn eq(&self, other: &GatewayProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GatewayProjection
impl StructuralPartialEq for GatewayProjection
Auto Trait Implementations§
impl Freeze for GatewayProjection
impl RefUnwindSafe for GatewayProjection
impl Send for GatewayProjection
impl Sync for GatewayProjection
impl Unpin for GatewayProjection
impl UnsafeUnpin for GatewayProjection
impl UnwindSafe for GatewayProjection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.