[−][src]Struct fuse::CuseServerBuilder
Implementations
impl<'a, C, Handlers, Hooks> CuseServerBuilder<'a, C, Handlers, Hooks> where
C: CuseServerChannel,
Handlers: CuseHandlers,
Hooks: ServerHooks,
[src]
C: CuseServerChannel,
Handlers: CuseHandlers,
Hooks: ServerHooks,
pub fn new(
device_name: &'a CuseDeviceName,
channel: C,
handlers: Handlers
) -> CuseServerBuilder<'a, C, Handlers, Hooks>
[src]
device_name: &'a CuseDeviceName,
channel: C,
handlers: Handlers
) -> CuseServerBuilder<'a, C, Handlers, Hooks>
pub fn set_hooks(self, hooks: Hooks) -> Self
[src]
pub fn build(self) -> Result<CuseServer<C, Handlers, Hooks>, C::Error>
[src]
Auto Trait Implementations
impl<'a, Channel, Handlers, Hooks> RefUnwindSafe for CuseServerBuilder<'a, Channel, Handlers, Hooks> where
Channel: RefUnwindSafe,
Handlers: RefUnwindSafe,
Hooks: RefUnwindSafe,
Channel: RefUnwindSafe,
Handlers: RefUnwindSafe,
Hooks: RefUnwindSafe,
impl<'a, Channel, Handlers, Hooks> Send for CuseServerBuilder<'a, Channel, Handlers, Hooks> where
Channel: Send,
Handlers: Send,
Hooks: Send,
Channel: Send,
Handlers: Send,
Hooks: Send,
impl<'a, Channel, Handlers, Hooks> Sync for CuseServerBuilder<'a, Channel, Handlers, Hooks> where
Channel: Sync,
Handlers: Sync,
Hooks: Sync,
Channel: Sync,
Handlers: Sync,
Hooks: Sync,
impl<'a, Channel, Handlers, Hooks> Unpin for CuseServerBuilder<'a, Channel, Handlers, Hooks> where
Channel: Unpin,
Handlers: Unpin,
Hooks: Unpin,
Channel: Unpin,
Handlers: Unpin,
Hooks: Unpin,
impl<'a, Channel, Handlers, Hooks> UnwindSafe for CuseServerBuilder<'a, Channel, Handlers, Hooks> where
Channel: UnwindSafe,
Handlers: UnwindSafe,
Hooks: UnwindSafe,
Channel: UnwindSafe,
Handlers: UnwindSafe,
Hooks: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,