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 AsXml for Close
impl AsXml for Close
Source§impl FromXml for Close
impl FromXml for Close
Source§fn from_events(
name: QName,
attrs: AttrMap,
ctx: &Context<'_>,
) -> Result<Self::Builder, FromEventsError>
fn from_events( name: QName, attrs: AttrMap, ctx: &Context<'_>, ) -> Result<Self::Builder, FromEventsError>
Attempt to initiate the streamed construction of this struct from XML. Read more
Source§fn xml_name_matcher() -> XmlNameMatcher<'static>
fn xml_name_matcher() -> XmlNameMatcher<'static>
Return a predicate which determines if
Self
may be parsed from
a given XML element. Read moreSource§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