pub enum Operations {
EoF(EndOfFile),
Metadata(MetadataPDU),
Nak(NegativeAcknowledgmentPDU),
}Expand description
All operations PDUs
Variants§
Implementations§
Source§impl Operations
impl Operations
pub fn get_directive(&self) -> PDUDirective
Trait Implementations§
Source§impl Clone for Operations
impl Clone for Operations
Source§fn clone(&self) -> Operations
fn clone(&self) -> Operations
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 Operations
impl Debug for Operations
Source§impl FSSEncode for Operations
impl FSSEncode for Operations
type PDUType = Operations
Source§fn encoded_len(&self, file_size_flag: FileSizeFlag) -> u16
fn encoded_len(&self, file_size_flag: FileSizeFlag) -> u16
Gets the encoded length must fit in a u16 for PDUs
Source§impl PartialEq for Operations
impl PartialEq for Operations
impl Eq for Operations
impl StructuralPartialEq for Operations
Auto Trait Implementations§
impl Freeze for Operations
impl RefUnwindSafe for Operations
impl Send for Operations
impl Sync for Operations
impl Unpin for Operations
impl UnwindSafe for Operations
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