pub struct PrintSocketHandle {
pub socket_path: String,
pub job_id: String,
}Expand description
Handle returned by Printer::print_socket.
Fields§
§socket_path: StringPath to a Unix-domain socket the caller writes the job data to.
job_id: StringThe backend-assigned job ID, or an empty string when not provided.
Trait Implementations§
Source§impl Clone for PrintSocketHandle
impl Clone for PrintSocketHandle
Source§fn clone(&self) -> PrintSocketHandle
fn clone(&self) -> PrintSocketHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PrintSocketHandle
impl Debug for PrintSocketHandle
impl Eq for PrintSocketHandle
Source§impl PartialEq for PrintSocketHandle
impl PartialEq for PrintSocketHandle
Source§fn eq(&self, other: &PrintSocketHandle) -> bool
fn eq(&self, other: &PrintSocketHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PrintSocketHandle
Auto Trait Implementations§
impl Freeze for PrintSocketHandle
impl RefUnwindSafe for PrintSocketHandle
impl Send for PrintSocketHandle
impl Sync for PrintSocketHandle
impl Unpin for PrintSocketHandle
impl UnsafeUnpin for PrintSocketHandle
impl UnwindSafe for PrintSocketHandle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more