[][src]Struct operator::content::FilesystemBasedContentEngine

pub struct FilesystemBasedContentEngine<'engine, ServerInfo> where
    ServerInfo: Clone + Serialize
{ /* fields omitted */ }

A ContentEngine that serves files from a ContentDirectory.

Implementations

impl<'engine, ServerInfo> FilesystemBasedContentEngine<'engine, ServerInfo> where
    ServerInfo: 'static + Clone + Serialize + Send + Sync
[src]

pub fn from_content_directory(
    content_directory: ContentDirectory,
    server_info: ServerInfo
) -> Result<Arc<RwLock<Self>>, ContentLoadingError>
[src]

Trait Implementations

impl<'engine, ServerInfo> ContentEngine<ServerInfo> for FilesystemBasedContentEngine<'engine, ServerInfo> where
    ServerInfo: Clone + Serialize
[src]

Auto Trait Implementations

impl<'engine, ServerInfo> !RefUnwindSafe for FilesystemBasedContentEngine<'engine, ServerInfo>[src]

impl<'engine, ServerInfo> Send for FilesystemBasedContentEngine<'engine, ServerInfo> where
    ServerInfo: Send
[src]

impl<'engine, ServerInfo> Sync for FilesystemBasedContentEngine<'engine, ServerInfo> where
    ServerInfo: Sync
[src]

impl<'engine, ServerInfo> Unpin for FilesystemBasedContentEngine<'engine, ServerInfo> where
    ServerInfo: Unpin
[src]

impl<'engine, ServerInfo> !UnwindSafe for FilesystemBasedContentEngine<'engine, ServerInfo>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,