pub struct Server { /* private fields */ }Implementations§
source§impl Server
impl Server
pub fn new<P: Into<Box<Path>>>( root: P, uid_map: ServerUidMap, gid_map: ServerGidMap ) -> Result<Server>
pub fn with_config(cfg: Config) -> Result<Server>
pub fn keep_fds(&self) -> Vec<RawFd>
pub fn handle_message<R: Read, W: Write>( &mut self, reader: &mut R, writer: &mut W ) -> Result<()>
Auto Trait Implementations§
impl RefUnwindSafe for Server
impl Send for Server
impl Sync for Server
impl Unpin for Server
impl UnwindSafe for Server
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