[][src]Struct nsl_duplex_d2::File

pub struct File {
    pub name: String,
    pub body: Vec<u8>,
}

Structure for files

Fields

Name of file

Contents of file

Methods

impl File
[src]

Create a new file object by copying name and body.

Create a new file object by parsing raw serial data.

Encode a file object to raw serial data.

Trait Implementations

impl PartialEq<File> for File
[src]

impl Debug for File
[src]

Auto Trait Implementations

impl Send for File

impl Sync for File

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]