pub trait ReadablePutRequest {
// Required methods
fn destination_id(&self) -> UnsignedByteField;
fn source_file(&self) -> Option<&str>;
fn dest_file(&self) -> Option<&str>;
fn trans_mode(&self) -> Option<TransmissionMode>;
fn closure_requested(&self) -> Option<bool>;
fn seg_ctrl(&self) -> Option<SegmentationControl>;
fn msgs_to_user(&self) -> Option<impl Iterator<Item = Tlv<'_>>>;
fn fault_handler_overrides(&self) -> Option<impl Iterator<Item = Tlv<'_>>>;
fn flow_label(&self) -> Option<Tlv<'_>>;
fn fs_requests(&self) -> Option<impl Iterator<Item = Tlv<'_>>>;
}
Expand description
This trait is an abstraction for different Put Request structures which can be used by Put Request consumers.
Required Methods§
fn destination_id(&self) -> UnsignedByteField
fn source_file(&self) -> Option<&str>
fn dest_file(&self) -> Option<&str>
fn trans_mode(&self) -> Option<TransmissionMode>
fn closure_requested(&self) -> Option<bool>
fn seg_ctrl(&self) -> Option<SegmentationControl>
fn msgs_to_user(&self) -> Option<impl Iterator<Item = Tlv<'_>>>
fn fault_handler_overrides(&self) -> Option<impl Iterator<Item = Tlv<'_>>>
fn flow_label(&self) -> Option<Tlv<'_>>
fn fs_requests(&self) -> Option<impl Iterator<Item = Tlv<'_>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl ReadablePutRequest for PutRequestOwned
Available on crate feature
alloc
only.