pub struct Close {
pub sid: StreamId,
}
Expand description
Close an open stream.
Fields§
§sid: StreamId
The identifier of the stream to be closed.
Trait Implementations§
Source§impl TryFrom<Element> for Close
impl TryFrom<Element> for Close
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl IqSetPayload for Close
impl StructuralPartialEq for Close
Auto Trait Implementations§
impl Freeze for Close
impl RefUnwindSafe for Close
impl Send for Close
impl Sync for Close
impl Unpin for Close
impl UnwindSafe for Close
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