pub struct AuthInfo<'a> {
pub name: &'a str,
pub data: &'a str,
}
Expand description
Container for authentication information to connect to the X server
See Connection::connect_to_display_with_auth_info and Connection::connect_to_fd.
Fields§
§name: &'a str
String containing the authentication protocol name, such as “MIT-MAGIC-COOKIE-1” or “XDM-AUTHORIZATION-1”.
data: &'a str
data interpreted in a protocol specific manner
Trait Implementations§
impl<'a> Copy for AuthInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthInfo<'a>
impl<'a> RefUnwindSafe for AuthInfo<'a>
impl<'a> Send for AuthInfo<'a>
impl<'a> Sync for AuthInfo<'a>
impl<'a> Unpin for AuthInfo<'a>
impl<'a> UnwindSafe for AuthInfo<'a>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)