Struct hakuban::tag::TagExpose [−][src]
pub struct TagExpose<T: Send + Sync + 'static, E = DefaultSerializerError> { /* fields omitted */ }
Expand description
Represents a wish, a contract to expose any object with specific tag
Implementations
pub fn set_object_state<'a>(
&self,
descriptor: impl Into<&'a ObjectDescriptor>,
version: impl Into<&'a ObjectVersion>,
cooked: impl Into<&'a T>
) -> Result<bool, E>
pub fn set_object_data<'a>(
&self,
descriptor: impl Into<&'a ObjectDescriptor>,
cooked: impl Into<&'a T>
) -> Result<(), E>
pub fn set_object_version<'a>(
&self,
descriptor: impl Into<&'a ObjectDescriptor>,
new_version: Option<impl Into<ObjectVersion>>
) -> bool
Trait Implementations
Auto Trait Implementations
impl<T, E = DefaultSerializerError> !RefUnwindSafe for TagExpose<T, E>
impl<T, E = DefaultSerializerError> !UnwindSafe for TagExpose<T, E>