pub struct TransportCapabilities {
pub MaximumMessageSize: usize,
pub SupportsRequestResponse: bool,
pub SupportsServerStreaming: bool,
pub SupportsClientStreaming: bool,
pub SupportsBidirectionalStreaming: bool,
pub SupportsNotifications: bool,
pub MaximumConcurrent: usize,
pub RequiresNetwork: bool,
pub SupportsEncryption: bool,
pub SupportsCompression: bool,
}Expand description
Transport capabilities and limits.
Fields§
§MaximumMessageSize: usizeMaximum size of a single message in bytes.
SupportsRequestResponse: boolWhether the transport supports request-response pattern.
SupportsServerStreaming: boolWhether the transport supports server-side streaming.
SupportsClientStreaming: boolWhether the transport supports client-side streaming.
SupportsBidirectionalStreaming: boolWhether the transport supports bidirectional streaming.
SupportsNotifications: boolWhether the transport supports broadcast/notifications.
MaximumConcurrent: usizeEstimated maximum concurrent requests/connections.
RequiresNetwork: boolWhether the transport requires network connectivity.
SupportsEncryption: boolWhether the transport supports encryption/TLS.
SupportsCompression: boolWhether the transport supports compression.
Trait Implementations§
Source§impl Clone for TransportCapabilities
impl Clone for TransportCapabilities
Source§fn clone(&self) -> TransportCapabilities
fn clone(&self) -> TransportCapabilities
Returns a duplicate of the value. Read more
1.0.0 · 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 TransportCapabilities
impl Debug for TransportCapabilities
Source§impl Default for TransportCapabilities
impl Default for TransportCapabilities
Source§impl PartialEq for TransportCapabilities
impl PartialEq for TransportCapabilities
impl Copy for TransportCapabilities
impl Eq for TransportCapabilities
impl StructuralPartialEq for TransportCapabilities
Auto Trait Implementations§
impl Freeze for TransportCapabilities
impl RefUnwindSafe for TransportCapabilities
impl Send for TransportCapabilities
impl Sync for TransportCapabilities
impl Unpin for TransportCapabilities
impl UnsafeUnpin for TransportCapabilities
impl UnwindSafe for TransportCapabilities
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
Checks if this value is equivalent to the given key. Read more
§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.