pub enum FaultCode {
VersionMismatch,
MustUnderstand,
DataEncodingUnknown,
Sender,
Receiver,
}Variants§
Implementations§
Source§impl FaultCode
impl FaultCode
Sourcepub fn as_soap12_str(&self) -> &'static str
pub fn as_soap12_str(&self) -> &'static str
Returns the SOAP 1.2 fault code string (e.g. "env:Sender", "env:Receiver").
Use this when serializing SOAP 1.2 responses.
Sourcepub fn as_soap11_str(&self) -> &'static str
pub fn as_soap11_str(&self) -> &'static str
Returns the SOAP 1.1 fault code string (e.g. "env:Client", "env:Server").
Use this when serializing SOAP 1.1 responses.
Trait Implementations§
impl StructuralPartialEq for FaultCode
Auto Trait Implementations§
impl Freeze for FaultCode
impl RefUnwindSafe for FaultCode
impl Send for FaultCode
impl Sync for FaultCode
impl Unpin for FaultCode
impl UnsafeUnpin for FaultCode
impl UnwindSafe for FaultCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more