Struct
WaitForFs
pub struct WaitForFs<P: CheckedPermissions>(pub FileSystem<P>, pub Location);Tuple Fields
0: FileSystem<P>1: LocationTrait Implementations
impl<P> ScalarEventHandler<FileSystemEvent> for WaitForFs<P>where
P: MessageAllowed<SubscribeFilesystemEvent> + CheckedPermissions,
impl<P> ScalarEventHandler<FileSystemEvent> for WaitForFs<P>where
P: MessageAllowed<SubscribeFilesystemEvent> + CheckedPermissions,
fn handle( &mut self, msg: FileSystemEvent, _sender: PID, context: &mut ServerContext<Self>, )
impl<P> Server for WaitForFs<P>where
P: MessageAllowed<SubscribeFilesystemEvent> + CheckedPermissions,
impl<P> Server for WaitForFs<P>where
P: MessageAllowed<SubscribeFilesystemEvent> + CheckedPermissions,
fn on_start(&mut self, context: &mut ServerContext<Self>)
fn on_start(&mut self, context: &mut ServerContext<Self>)
Hook to do stuff with the context once the server is started.
impl<P: CheckedPermissions> ServerMessages for WaitForFs<P>
impl<P: CheckedPermissions> ServerMessages for WaitForFs<P>
const NAME: &'static str = ""
const NAME: &'static str = ""
The name of the server, as registered in the nameserver.
If empty, a random SID will be assigned and no nameserver registration happens.
fn messages() -> &'static [MessageDef<Self>] ⓘwhere
Self: Sized,
fn messages() -> &'static [MessageDef<Self>] ⓘwhere
Self: Sized,
Define the messages that are handled by this server. See
MessageDef and the
related functions.