pub struct Resumed {
pub h: u32,
pub previd: StreamId,
}
Expand description
The response by the server for a successfully resumed stream.
Fields§
§h: u32
The last handled stanza.
previd: StreamId
The previous id given by the server on enabled.
Trait Implementations§
Source§impl AsXml for Resumed
impl AsXml for Resumed
Source§impl FromXml for Resumed
impl FromXml for Resumed
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 Resumed
impl TryFrom<Element> for Resumed
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for Resumed
Auto Trait Implementations§
impl Freeze for Resumed
impl RefUnwindSafe for Resumed
impl Send for Resumed
impl Sync for Resumed
impl Unpin for Resumed
impl UnwindSafe for Resumed
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