[][src]Struct mysql_common::packets::LocalInfilePacket

pub struct LocalInfilePacket<'a> { /* fields omitted */ }

Represents MySql's local infile packet.

Implementations

impl<'a> LocalInfilePacket<'a>[src]

pub fn file_name_ref(&self) -> &[u8][src]

Value of the file_name field of a local infile packet as a byte slice.

pub fn file_name_str(&self) -> Cow<'_, str>[src]

Value of the file_name field of a local infile packet as a string (lossy converted).

pub fn into_owned(self) -> LocalInfilePacket<'static>[src]

Trait Implementations

impl<'a> Clone for LocalInfilePacket<'a>[src]

impl<'a> Debug for LocalInfilePacket<'a>[src]

impl<'a> Eq for LocalInfilePacket<'a>[src]

impl<'a> PartialEq<LocalInfilePacket<'a>> for LocalInfilePacket<'a>[src]

impl<'a> StructuralEq for LocalInfilePacket<'a>[src]

impl<'a> StructuralPartialEq for LocalInfilePacket<'a>[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,