pub struct TcObject {
pub tag: u8,
pub t_c_id: u8,
}Expand description
A connection-management object carrying just t_c_id: Create_T_C
(Table A.4), C_T_C_Reply, Delete_T_C (A.6), D_T_C_Reply, Request_T_C
(A.8). The tag distinguishes which (length_field = 1).
Fields§
§tag: u8The tpdu_tag (one of CREATE_T_C/C_T_C_REPLY/DELETE_T_C/
D_T_C_REPLY/REQUEST_T_C).
t_c_id: u8t_c_id — the transport connection identifier.
Trait Implementations§
impl Copy for TcObject
impl Eq for TcObject
Source§impl Serialize for TcObject
impl Serialize for TcObject
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for TcObject
Auto Trait Implementations§
impl Freeze for TcObject
impl RefUnwindSafe for TcObject
impl Send for TcObject
impl Sync for TcObject
impl Unpin for TcObject
impl UnsafeUnpin for TcObject
impl UnwindSafe for TcObject
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