pub struct Enable {
pub max: Option<u32>,
pub resume: bool,
}
Expand description
Client request for enabling stream management.
Fields§
§max: Option<u32>
The preferred resumption time in seconds by the client.
resume: bool
Whether the client wants to be allowed to resume the stream.
Implementations§
Trait Implementations§
Source§impl TryFrom<Element> for Enable
impl TryFrom<Element> for Enable
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Enable
Auto Trait Implementations§
impl Freeze for Enable
impl RefUnwindSafe for Enable
impl Send for Enable
impl Sync for Enable
impl Unpin for Enable
impl UnwindSafe for Enable
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