Struct mysql_common::packets::LocalInfilePacket
source · pub struct LocalInfilePacket<'a> { /* private fields */ }
Expand description
Represents MySql’s local infile packet.
Implementations
sourceimpl<'a> LocalInfilePacket<'a>
impl<'a> LocalInfilePacket<'a>
sourcepub fn file_name_ref(&self) -> &[u8]ⓘ
pub fn file_name_ref(&self) -> &[u8]ⓘ
Value of the file_name field of a local infile packet as a byte slice.
sourcepub fn file_name_str(&self) -> Cow<'_, str>
pub fn file_name_str(&self) -> Cow<'_, str>
Value of the file_name field of a local infile packet as a string (lossy converted).
pub fn into_owned(self) -> LocalInfilePacket<'static>
Auto Trait Implementations
impl<'a> RefUnwindSafe for LocalInfilePacket<'a>
impl<'a> Send for LocalInfilePacket<'a>
impl<'a> Sync for LocalInfilePacket<'a>
impl<'a> Unpin for LocalInfilePacket<'a>
impl<'a> UnwindSafe for LocalInfilePacket<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more