Docs.rs
muzzman-lib-0.3.0
muzzman-lib 0.3.0
Docs.rs crate page
GPL-3.0
Links
Repository
crates.io
Source
Owners
konkitoman
Dependencies
bytes-kman ^0.1.18
normal
get_ref ^0.1.0
normal
libloading ^0.7.4
normal
muzzman-lib-macros ^0.1.2
normal
rand ^0.8.5
normal
serde ^1.0.152
normal
url ^2.3.1
normal
Versions
1.75%
of the crate is documented
Go to latest version
Platform
x86_64-apple-darwin
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
ERef
Trait Implementations
Common
TElement
TGetLogger
In muzzman_lib::types
?
Type Definition
muzzman_lib
::
types
::
ERef
source
·
[
−
]
pub type ERef =
Arc
<
RwLock
<
RefElement
>>;
Trait Implementations
§
source
§
impl
Common
for
ERef
source
§
fn
get_name
(&self) ->
Result
<
String
,
SessionError
>
source
§
fn
set_name
(&self, name: impl
Into
<
String
>) ->
Result
<
()
,
SessionError
>
source
§
fn
get_desc
(&self) ->
Result
<
String
,
SessionError
>
source
§
fn
set_desc
(&self, desc: impl
Into
<
String
>) ->
Result
<
()
,
SessionError
>
source
§
fn
notify
(&self, event:
Event
) ->
Result
<
()
,
SessionError
>
source
§
fn
emit
(&self, event:
Event
) ->
Result
<
()
,
SessionError
>
source
§
fn
subscribe
(&self, _ref:
ID
) ->
Result
<
()
,
SessionError
>
source
§
fn
unsubscribe
(&self, _ref:
ID
) ->
Result
<
()
,
SessionError
>
source
§
impl
TElement
for
ERef
source
§
fn
get_session
(&self) ->
Result
<
Box
<dyn
TSession
>,
SessionError
>
source
§
fn
get_meta
(&self) ->
Result
<
String
,
SessionError
>
source
§
fn
set_meta
(&self, meta: &
str
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_element_data
(&self) ->
Result
<
Data
,
SessionError
>
source
§
fn
set_element_data
(&self, data:
Data
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_module_data
(&self) ->
Result
<
Data
,
SessionError
>
source
§
fn
set_module_data
(&self, data:
Data
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_module
(&self) ->
Result
<
Option
<
MRef
>,
SessionError
>
source
§
fn
set_module
(&self, module:
Option
<
ModuleId
>) ->
Result
<
()
,
SessionError
>
source
§
fn
resolv_module
(&self) ->
Result
<
bool
,
SessionError
>
source
§
fn
init
(&self) ->
Result
<
bool
,
SessionError
>
source
§
fn
get_statuses
(&self) ->
Result
<
Vec
<
String
>,
SessionError
>
source
§
fn
set_statuses
(&self, statuses:
Vec
<
String
>) ->
Result
<
()
,
SessionError
>
source
§
fn
get_status
(&self) ->
Result
<
usize
,
SessionError
>
source
§
fn
get_status_msg
(&self) ->
Result
<
String
,
SessionError
>
source
§
fn
set_status
(&self, status:
usize
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_data
(&self) ->
Result
<
FileOrData
,
SessionError
>
source
§
fn
set_data
(&self, data:
FileOrData
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_progress
(&self) ->
Result
<
f32
,
SessionError
>
source
§
fn
set_progress
(&self, progress:
f32
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_should_save
(&self) ->
Result
<
bool
,
SessionError
>
source
§
fn
set_should_save
(&self, should_save:
bool
) ->
Result
<
()
,
SessionError
>
source
§
fn
is_enabled
(&self) ->
Result
<
bool
,
SessionError
>
source
§
fn
set_enabled
(
&self,
enabled:
bool
,
storage:
Option
<
Storage
>
) ->
Result
<
()
,
SessionError
>
source
§
fn
get_element_info
(&self) ->
Result
<
ElementInfo
,
SessionError
>
source
§
fn
wait
(&self) ->
Result
<
()
,
SessionError
>
source
§
fn
destroy
(self) ->
Result
<
ERow
,
SessionError
>
source
§
fn
id
(&self) ->
ElementId
source
§
impl
TGetLogger
for
ERef
source
§
fn
get_logger
(&self, dst:
Option
<
Arc
<
Mutex
<
File
>>>) ->
Logger