pub struct ServerFeatures {
pub max_payload_size: u32,
pub max_concurrent_streams: u32,
pub idle_timeout_seconds: u32,
pub auth_methods: Vec<AuthMethod>,
}Expand description
Server-declared parameters carried in WELCOME.
Fields§
§max_payload_size: u32§max_concurrent_streams: u32§idle_timeout_seconds: u32§auth_methods: Vec<AuthMethod>Trait Implementations§
Source§impl Clone for ServerFeatures
impl Clone for ServerFeatures
Source§impl Debug for ServerFeatures
impl Debug for ServerFeatures
Source§impl<'de> Deserialize<'de> for ServerFeatures
impl<'de> Deserialize<'de> for ServerFeatures
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 ServerFeatures
Source§impl PartialEq for ServerFeatures
impl PartialEq for ServerFeatures
Source§impl Serialize for ServerFeatures
impl Serialize for ServerFeatures
impl StructuralPartialEq for ServerFeatures
Auto Trait Implementations§
impl Freeze for ServerFeatures
impl RefUnwindSafe for ServerFeatures
impl Send for ServerFeatures
impl Sync for ServerFeatures
impl Unpin for ServerFeatures
impl UnsafeUnpin for ServerFeatures
impl UnwindSafe for ServerFeatures
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