pub struct IdleSeconds {
pub value: NonZeroU32,
}
Expand description
Number of seconds without any traffic from the iniating entity after which the server may consider the stream idle, and either perform liveness checks or terminate the stream.
Fields§
§value: NonZeroU32
The number of seconds.
Trait Implementations§
Source§impl AsXml for IdleSeconds
impl AsXml for IdleSeconds
Source§impl Clone for IdleSeconds
impl Clone for IdleSeconds
Source§fn clone(&self) -> IdleSeconds
fn clone(&self) -> IdleSeconds
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for IdleSeconds
impl Debug for IdleSeconds
Source§impl From<&IdleSeconds> for Element
impl From<&IdleSeconds> for Element
Source§fn from(other: &IdleSeconds) -> Self
fn from(other: &IdleSeconds) -> Self
Converts to this type from the input type.
Source§impl From<IdleSeconds> for Element
impl From<IdleSeconds> for Element
Source§fn from(other: IdleSeconds) -> Self
fn from(other: IdleSeconds) -> Self
Converts to this type from the input type.
Source§impl FromXml for IdleSeconds
impl FromXml for IdleSeconds
Source§type Builder = IdleSecondsFromXmlBuilder
type Builder = IdleSecondsFromXmlBuilder
A builder type used to construct the element. Read more
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 PartialEq for IdleSeconds
impl PartialEq for IdleSeconds
Source§impl TryFrom<Element> for IdleSeconds
impl TryFrom<Element> for IdleSeconds
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl StructuralPartialEq for IdleSeconds
Auto Trait Implementations§
impl Freeze for IdleSeconds
impl RefUnwindSafe for IdleSeconds
impl Send for IdleSeconds
impl Sync for IdleSeconds
impl Unpin for IdleSeconds
impl UnwindSafe for IdleSeconds
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