Struct sandbox_ipc::io::SendableFile [−][src]
Wraps a normal std::fs::File
so it may be transmitted to other processes.
Trait Implementations
impl<B: Debug> Debug for SendableFile<B> where
B: Borrow<File>,
[src]
impl<B: Debug> Debug for SendableFile<B> where
B: Borrow<File>,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<File> for SendableFile
[src]
impl From<File> for SendableFile
fn from(file: File) -> SendableFile
[src]
fn from(file: File) -> SendableFile
Performs the conversion.
impl From<SendableFile> for File
[src]
impl From<SendableFile> for File
fn from(file: SendableFile) -> File
[src]
fn from(file: SendableFile) -> File
Performs the conversion.
impl<B> Serialize for SendableFile<B> where
B: Borrow<File>,
[src]
impl<B> Serialize for SendableFile<B> where
B: Borrow<File>,
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for SendableFile
[src]
impl<'de> Deserialize<'de> for SendableFile
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl<B> Send for SendableFile<B> where
B: Send,
impl<B> Send for SendableFile<B> where
B: Send,
impl<B> Sync for SendableFile<B> where
B: Sync,
impl<B> Sync for SendableFile<B> where
B: Sync,