Enum midi_msg::FileDumpMsg [−][src]
Used to transmit general file data.
Used by UniversalNonRealTimeMsg.
Variants
Request that the file with name be sent.
Fields of Request
The header of the file about to be sent.
Fields of Header
sender_device: DeviceIDfile_type: FileTypelength: u32Actual (un-encoded) file length, 28 bits (0-2684354561)
name: AsciiStringA packet of the file being sent.
Use FileDumpMsg::packet to construct
Fields of Packet
Implementations
impl FileDumpMsg[src]
pub fn packet(num: u32, data: Vec<u8>) -> Self[src]
Construct a packet of up to 112 (full) bytes.
num is the number of this packet.
Trait Implementations
impl Clone for FileDumpMsg[src]
fn clone(&self) -> FileDumpMsg[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for FileDumpMsg[src]
impl PartialEq<FileDumpMsg> for FileDumpMsg[src]
fn eq(&self, other: &FileDumpMsg) -> bool[src]
fn ne(&self, other: &FileDumpMsg) -> bool[src]
impl StructuralPartialEq for FileDumpMsg[src]
Auto Trait Implementations
impl RefUnwindSafe for FileDumpMsg
impl Send for FileDumpMsg
impl Sync for FileDumpMsg
impl Unpin for FileDumpMsg
impl UnwindSafe for FileDumpMsg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,