#[repr(u8)]pub enum DirectiveCode {
Eof = 4,
Finished = 5,
Ack = 6,
Metadata = 7,
Nak = 8,
Prompt = 9,
KeepAlive = 12,
}Expand description
Identifies the type of File Directive PDU (Table 5-4).
Variants§
Eof = 4
End-of-File directive.
Finished = 5
Finished directive.
Ack = 6
Acknowledgment directive.
Metadata = 7
Metadata directive.
Nak = 8
Negative Acknowledgment directive.
Prompt = 9
Prompt directive.
KeepAlive = 12
Keep Alive directive.
Implementations§
Trait Implementations§
Source§impl Clone for DirectiveCode
impl Clone for DirectiveCode
Source§fn clone(&self) -> DirectiveCode
fn clone(&self) -> DirectiveCode
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 DirectiveCode
impl Debug for DirectiveCode
Source§impl PartialEq for DirectiveCode
impl PartialEq for DirectiveCode
Source§impl TryFrom<u8> for DirectiveCode
impl TryFrom<u8> for DirectiveCode
impl Copy for DirectiveCode
impl Eq for DirectiveCode
impl StructuralPartialEq for DirectiveCode
Auto Trait Implementations§
impl Freeze for DirectiveCode
impl RefUnwindSafe for DirectiveCode
impl Send for DirectiveCode
impl Sync for DirectiveCode
impl Unpin for DirectiveCode
impl UnsafeUnpin for DirectiveCode
impl UnwindSafe for DirectiveCode
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