pub struct CotpProtocolInformation { /* private fields */ }Implementations§
Source§impl CotpProtocolInformation
impl CotpProtocolInformation
pub fn initiator( calling_tsap_id: Option<Vec<u8>>, called_tsap_id: Option<Vec<u8>>, ) -> Self
pub fn responder(self) -> Self
pub fn initiator_reference(&self) -> u16
Sourcepub fn responder_reference(&self) -> u16
pub fn responder_reference(&self) -> u16
This will be 0 for the first request from the initiator.
pub fn calling_tsap_id(&self) -> Option<&Vec<u8>>
pub fn called_tsap_id(&self) -> Option<&Vec<u8>>
Trait Implementations§
Source§impl Clone for CotpProtocolInformation
impl Clone for CotpProtocolInformation
Source§fn clone(&self) -> CotpProtocolInformation
fn clone(&self) -> CotpProtocolInformation
Returns a duplicate 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 CotpProtocolInformation
impl Debug for CotpProtocolInformation
Source§impl PartialEq for CotpProtocolInformation
impl PartialEq for CotpProtocolInformation
impl ProtocolInformation for CotpProtocolInformation
impl StructuralPartialEq for CotpProtocolInformation
Auto Trait Implementations§
impl Freeze for CotpProtocolInformation
impl RefUnwindSafe for CotpProtocolInformation
impl Send for CotpProtocolInformation
impl Sync for CotpProtocolInformation
impl Unpin for CotpProtocolInformation
impl UnsafeUnpin for CotpProtocolInformation
impl UnwindSafe for CotpProtocolInformation
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