Enum sn_messaging::client::DataCmd [−][src]
pub enum DataCmd { Blob(BlobWrite), Map(MapWrite), Sequence(SequenceWrite), Register(RegisterWrite), }
Data command operations. Creating, updating or removing data
Variants
Blob(BlobWrite)
Blob write operation
Map(MapWrite)
Map write operation
Sequence(SequenceWrite)
Sequence write operation
Register(RegisterWrite)
Register write operation
Implementations
impl DataCmd
[src]
impl DataCmd
[src]pub fn error(&self, error: Error) -> CmdError
[src]
Creates a Response containing an error, with the Response variant corresponding to the cuest variant.
pub fn dst_address(&self) -> XorName
[src]
Returns the address of the destination for cuest
.
pub fn owner(&self) -> Option<PublicKey>
[src]
Returns the owner of the data.
Trait Implementations
impl<'de> Deserialize<'de> for DataCmd
[src]
impl<'de> Deserialize<'de> for DataCmd
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralEq for DataCmd
[src]
impl StructuralEq for DataCmd
[src]impl StructuralPartialEq for DataCmd
[src]
impl StructuralPartialEq for DataCmd
[src]Auto Trait Implementations
impl RefUnwindSafe for DataCmd
impl RefUnwindSafe for DataCmd
impl UnwindSafe for DataCmd
impl UnwindSafe for DataCmd
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,