pub enum ResponseExpectation {
None,
Message(MessageId),
OptionalMessage(MessageId),
VersionSelected {
before: MessageId,
from: MessageId,
minimum_protocol: u8,
},
SessionSelected {
before: MessageId,
from: MessageId,
selector: SessionResponseSelector,
},
OneOf(&'static [MessageId]),
}Expand description
SCCP-level response expected for a request or media transaction.
Variants§
None
Message(MessageId)
OptionalMessage(MessageId)
VersionSelected
The negotiated protocol selects the response identifier.
Fields
SessionSelected
Negotiated session inputs select the response identifier.
Fields
§
selector: SessionResponseSelectorSession rule that chooses between the response identifiers.
OneOf(&'static [MessageId])
The response may be any member of this family.
Trait Implementations§
Source§impl Clone for ResponseExpectation
impl Clone for ResponseExpectation
Source§fn clone(&self) -> ResponseExpectation
fn clone(&self) -> ResponseExpectation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ResponseExpectation
Source§impl Debug for ResponseExpectation
impl Debug for ResponseExpectation
impl Eq for ResponseExpectation
Source§impl Hash for ResponseExpectation
impl Hash for ResponseExpectation
Source§impl PartialEq for ResponseExpectation
impl PartialEq for ResponseExpectation
impl StructuralPartialEq for ResponseExpectation
Auto Trait Implementations§
impl Freeze for ResponseExpectation
impl RefUnwindSafe for ResponseExpectation
impl Send for ResponseExpectation
impl Sync for ResponseExpectation
impl Unpin for ResponseExpectation
impl UnsafeUnpin for ResponseExpectation
impl UnwindSafe for ResponseExpectation
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