pub struct BindData {
pub system_id: COctetString,
pub password: COctetString,
pub system_type: COctetString,
pub interface_version: Integer1,
pub addr_ton: Integer1,
pub addr_npi: Integer1,
pub address_range: COctetString,
}Fields§
§system_id: COctetString§password: COctetString§system_type: COctetString§interface_version: Integer1§addr_ton: Integer1§addr_npi: Integer1§address_range: COctetStringImplementations§
Source§impl BindData
impl BindData
pub fn new( system_id: &str, password: &str, system_type: &str, interface_version: u8, addr_ton: u8, addr_npi: u8, address_range: &str, ) -> Result<Self, PduParseError>
pub async fn write(&self, _stream: &mut WriteStream) -> Result<()>
pub fn parse( bytes: &mut dyn BufRead, _command_status: u32, ) -> Result<Self, PduParseError>
pub fn validate_command_status( self, command_status: u32, ) -> Result<Self, PduParseError>
Trait Implementations§
impl StructuralPartialEq for BindData
Auto Trait Implementations§
impl Freeze for BindData
impl RefUnwindSafe for BindData
impl Send for BindData
impl Sync for BindData
impl Unpin for BindData
impl UnwindSafe for BindData
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