[][src]Struct actions_core::Core

pub struct Core<W> { /* fields omitted */ }

Methods

impl Core<Stdout>[src]

pub fn new() -> Self[src]

impl<W> Core<W> where
    W: Write
[src]

pub fn input<K: ToString>(_: &Self, name: K) -> Result<String, VarError>[src]

pub fn set_output<K: ToString, V: ToString>(&mut self, k: K, v: V) -> Result<()>[src]

pub fn set_env<K: ToString, V: ToString>(&mut self, k: K, v: V) -> Result<()>[src]

pub fn add_mask<V: ToString>(&mut self, v: V) -> Result<()>[src]

pub fn add_path<P: ToString>(&mut self, v: P) -> Result<()>[src]

pub fn save_state<K: ToString, V: ToString>(&mut self, k: K, v: V) -> Result<()>[src]

pub fn state<K: ToString>(_: &Self, name: K) -> Result<String, VarError>[src]

pub fn stop_logging<F, T>(&mut self, f: F) -> Result<T> where
    F: FnOnce() -> T, 
[src]

pub fn is_debug(_: &Self) -> bool[src]

pub fn log_message<M: ToString>(
    &mut self,
    level: LogLevel,
    message: M
) -> Result<()>
[src]

pub fn debug<M: ToString>(&mut self, message: M) -> Result<()>[src]

pub fn error<M: ToString>(&mut self, message: M) -> Result<()>[src]

pub fn warning<M: ToString>(&mut self, message: M) -> Result<()>[src]

pub fn log<M: ToString>(&mut self, level: LogLevel, log: Log<M>) -> Result<()>[src]

pub fn log_debug<M: ToString>(&mut self, log: Log<M>) -> Result<()>[src]

pub fn log_error<M: ToString>(&mut self, log: Log<M>) -> Result<()>[src]

pub fn log_warning<M: ToString>(&mut self, log: Log<M>) -> Result<()>[src]

Trait Implementations

impl Default for Core<Stdout>[src]

impl<W: Write> From<W> for Core<W>[src]

Auto Trait Implementations

impl<W> RefUnwindSafe for Core<W> where
    W: RefUnwindSafe

impl<W> Send for Core<W> where
    W: Send

impl<W> Sync for Core<W> where
    W: Sync

impl<W> Unpin for Core<W> where
    W: Unpin

impl<W> UnwindSafe for Core<W> where
    W: UnwindSafe

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, U> Into<U> for T where
    U: From<T>, 
[src]

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>,