pub struct TransferState { /* private fields */ }
Available on crate feature
alloc
only.Implementations§
Source§impl TransferState
impl TransferState
Sourcepub fn new(
transaction_id: TransactionId,
remote_cfg: RemoteEntityConfig,
transmission_mode: TransmissionMode,
closure_requested: bool,
cond_code_eof: Option<ConditionCode>,
finished_params: Option<FinishedParams>,
) -> Self
pub fn new( transaction_id: TransactionId, remote_cfg: RemoteEntityConfig, transmission_mode: TransmissionMode, closure_requested: bool, cond_code_eof: Option<ConditionCode>, finished_params: Option<FinishedParams>, ) -> Self
Constructs a new TransferState
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransferState
impl RefUnwindSafe for TransferState
impl Send for TransferState
impl Sync for TransferState
impl Unpin for TransferState
impl UnwindSafe for TransferState
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