pub struct Outbind {
pub system_id: COctetString<1, 16>,
pub password: COctetString<1, 9>,
}Expand description
Authentication PDU used by a Message Centre to Outbind to an ESME to inform it that messages are present in the MC. The PDU contains identification, and access password for the ESME. If the ESME authenticates the request, it will respond with a bind_receiver or bind_transceiver to begin the process of binding into the MC.
Fields§
§system_id: COctetString<1, 16>MC identifier.
Identifies the MC to the ESME.
password: COctetString<1, 9>The password may be used by the ESME for security reasons to authenticate the MC originating the outbind.
Implementations§
source§impl Outbind
impl Outbind
pub fn new(system_id: COctetString<1, 16>, password: COctetString<1, 9>) -> Self
pub fn builder() -> OutbindBuilder
pub fn into_outnbind(self) -> Pdu
Trait Implementations§
source§impl Decode for Outbind
impl Decode for Outbind
source§fn decode_from<R: Read>(reader: &mut R) -> Result<Self, DecodeError>where
Self: Sized,
fn decode_from<R: Read>(reader: &mut R) -> Result<Self, DecodeError>where
Self: Sized,
Decode a value from a reader
source§fn length_checked_decode_from<R: Read>(
reader: &mut R,
length: usize
) -> Result<Option<Self>, DecodeError>where
Self: Sized,
fn length_checked_decode_from<R: Read>(
reader: &mut R,
length: usize
) -> Result<Option<Self>, DecodeError>where
Self: Sized,
Decode a value from a reader Read more
source§fn vecorized_decode_from<R: Read>(
reader: &mut R,
count: usize
) -> Result<Vec<Self>, DecodeError>where
Self: Sized,
fn vecorized_decode_from<R: Read>(
reader: &mut R,
count: usize
) -> Result<Vec<Self>, DecodeError>where
Self: Sized,
Decode a vector of values from a reader
source§fn decode_from_slice(slice: &[u8]) -> Result<Self, DecodeError>where
Self: Sized,
fn decode_from_slice(slice: &[u8]) -> Result<Self, DecodeError>where
Self: Sized,
Decode a value from a slice
source§impl Encode for Outbind
impl Encode for Outbind
source§fn encode_to<W: Write>(&self, writer: &mut W) -> Result<(), EncodeError>
fn encode_to<W: Write>(&self, writer: &mut W) -> Result<(), EncodeError>
Encode a value to a writer
source§fn encode_into_vec(&self) -> Result<Vec<u8>, EncodeError>
fn encode_into_vec(&self) -> Result<Vec<u8>, EncodeError>
Encode a value into a vector
source§impl Ord for Outbind
impl Ord for Outbind
source§impl PartialEq for Outbind
impl PartialEq for Outbind
source§impl PartialOrd for Outbind
impl PartialOrd for Outbind
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Outbind
impl StructuralPartialEq for Outbind
Auto Trait Implementations§
impl Freeze for Outbind
impl RefUnwindSafe for Outbind
impl Send for Outbind
impl Sync for Outbind
impl Unpin for Outbind
impl UnwindSafe for Outbind
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