Method lrs::socket::cmsg::CMsgBuf::credentials

Adds process credentials to the buffer.

Syntax

impl<H> CMsgBuf<H>
    where H: Allocator,
{
    fn credentials(&mut self, creds: Credentials) -> Result<(), Errno>
}

Arguments

NameDescription
creds

The credentials to be added.