pub struct Connection {
pub cid: u16,
pub conn: Arc<ClientConnection>,
pub exp_stat_sn: Arc<AtomicU32>,
}Expand description
Per-connection state within an iSCSI session
Represents a single TCP connection within an iSCSI session. A session may have multiple connections (Multi-Connection per Session - MC/S) for increased throughput.
Fields§
§cid: u16Connection ID - unique identifier for this connection within the session
conn: Arc<ClientConnection>Reference to the underlying client connection handling TCP communication
exp_stat_sn: Arc<AtomicU32>Next Expected StatSN (ACK). Bumped when we accept a reply from target. Used to track the sequence of status responses from the target.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Connection
impl !UnwindSafe for Connection
impl Freeze for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnsafeUnpin for Connection
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